We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
build
1 parent fe02ebd commit dfcbee6Copy full SHA for dfcbee6
config/paths.js
@@ -52,7 +52,7 @@ const resolveModule = (resolveFn, filePath) => {
52
module.exports = {
53
dotenv: resolveApp(".env"),
54
appPath: resolveApp("."),
55
- appBuild: resolveApp("build/client"),
+ appBuild: resolveApp("build"),
56
appPublic: resolveApp("public"),
57
appHtml: resolveApp("public/index.html"),
58
appIndexJs: resolveModule(resolveApp, "src/client/index"),
src/server/server.ts
@@ -18,7 +18,7 @@ const main = async () => {
18
19
// Automatically serve the index.html file from the build folder
20
app.set("trust proxy", "loopback");
21
- app.use("/", express.static("build/client"));
+ app.use("/", express.static("build/"));
22
23
app.get("/hello", (_, res) => {
24
res.json({ test: "Hello world" });
0 commit comments