mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Fixed etherpad not being available from subdirectory
This commit is contained in:
parent
7e3ad03e2f
commit
3dae23a1e5
3 changed files with 4 additions and 4 deletions
|
@ -342,7 +342,7 @@ exports.expressCreateServer = async (hookName: string, args: any, cb: Function)
|
||||||
req,
|
req,
|
||||||
toolbar,
|
toolbar,
|
||||||
isReadOnly,
|
isReadOnly,
|
||||||
entrypoint: "/"+fileNamePad
|
entrypoint: "../../"+fileNamePad
|
||||||
})
|
})
|
||||||
res.send(content);
|
res.send(content);
|
||||||
});
|
});
|
||||||
|
@ -356,7 +356,7 @@ exports.expressCreateServer = async (hookName: string, args: any, cb: Function)
|
||||||
res.send(eejs.require('ep_etherpad-lite/templates/timeslider.html', {
|
res.send(eejs.require('ep_etherpad-lite/templates/timeslider.html', {
|
||||||
req,
|
req,
|
||||||
toolbar,
|
toolbar,
|
||||||
entrypoint: "/"+fileNameTimeSlider
|
entrypoint: "../../../"+fileNameTimeSlider
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<% e.begin_block("htmlHead"); %>
|
<% e.begin_block("htmlHead"); %>
|
||||||
<% e.end_block(); %>
|
<% e.end_block(); %>
|
||||||
<title><%=settings.title%></title>
|
<title><%=settings.title%></title>
|
||||||
<link rel="manifest" href="/manifest.json" />
|
<link rel="manifest" href="../../manifest.json" />
|
||||||
<script>
|
<script>
|
||||||
/*
|
/*
|
||||||
|@licstart The following is the entire license notice for the
|
|@licstart The following is the entire license notice for the
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
*/
|
*/
|
||||||
</script>
|
</script>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="manifest" href="/manifest.json" />
|
<link rel="manifest" href="../../../manifest.json" />
|
||||||
<meta name="robots" content="noindex, nofollow">
|
<meta name="robots" content="noindex, nofollow">
|
||||||
<meta name="referrer" content="no-referrer">
|
<meta name="referrer" content="no-referrer">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
|
||||||
|
|
Loading…
Reference in a new issue