mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-07-30 11:39:26 -07:00
fix: locales serving
This commit is contained in:
parent
2b79e9dd80
commit
94581a8999
6 changed files with 41 additions and 7 deletions
|
@ -51,6 +51,10 @@ if (
|
|||
["/app", "/app/*"],
|
||||
express.static(path.join(__dirname, "..", "frontend", "build"))
|
||||
);
|
||||
app.use(
|
||||
["/locales", "/locales/*"],
|
||||
express.static(path.join(__dirname, "..", "frontend", "build", "locales"))
|
||||
);
|
||||
app.get(["/app/network/*"], function (req, res) {
|
||||
res.sendFile(path.join(__dirname, "..", "frontend", "build", "index.html"));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue