0👍
This issue was resolved by adding the following to the vue.config.js file –
publicPath: process.env.NODE_ENV === 'production' ? '/BusinessObjectsMetadata/' : '/'
Note – after adding this code, it was no longer possible to access localhost:3001
on the server directly by typing that in the address bar.
Source:stackexchange.com