Closed Thomas-1985 closed 2 years ago
Hi
I am serving the ui files in my Express app via app.use(express.static(path.resolve('public')));
app.use(express.static(path.resolve('public')));
in a subdirectory called socket.ui. With the index.html provided this doesn't work as the links to css, webpack etc. start with /
socket.ui
/
If you could change it to relative links, this should work.
Best, Thomas
That sounds reasonable :+1:
This was implemented in https://github.com/socketio/socket.io-admin-ui/commit/fdec2ce17bf7cad77a04e8eef42a26104b6a05b8, included in version 0.4.0.
0.4.0
Have a great day!
Hi
I am serving the ui files in my Express app via
app.use(express.static(path.resolve('public')));
in a subdirectory called
socket.ui
. With the index.html provided this doesn't work as the links to css, webpack etc. start with/
If you could change it to relative links, this should work.
Best, Thomas