Skip to content

Commit c96dfc6

Browse files
committed
fix: url prefix error
1 parent 0cc872b commit c96dfc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ module.exports = composePlugins(
9494
config.output = {
9595
...config.output,
9696
uniqueName: "labelstudio",
97-
publicPath: isDevelopment && FRONTEND_HOSTNAME ? `${FRONTEND_HOSTNAME}/react-app/` : "/label-studio",
97+
publicPath: isDevelopment && FRONTEND_HOSTNAME ? `${FRONTEND_HOSTNAME}/react-app/` : "auto",
9898
scriptType: "text/javascript",
9999
};
100100

0 commit comments

Comments
 (0)