Skip to content

Commit

Permalink
Fixed assets path
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusLongmuir committed Oct 17, 2023
1 parent 4ca92b1 commit f11a70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ app.ws(`/mml-documents/:filename`, (ws: WebSocket, req: express.Request) => {
});

// Serve assets with CORS allowing all origins
app.use("/assets/", cors(), express.static(path.resolve(dirname, "../assets/")));
app.use("/assets/", cors(), express.static(path.resolve(dirname, "../../assets/")));

const userNetworkingServer = new UserNetworkingServer();
app.ws("/network", (ws) => {
Expand Down

0 comments on commit f11a70e

Please sign in to comment.