mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
fix: make sure world state is not loaded every time a modal is opened, fix dev server caching on safari
This commit is contained in:
@@ -114,9 +114,15 @@ module.exports = {
|
||||
options.quiet = true;
|
||||
return options;
|
||||
});
|
||||
|
||||
// Fix issue with Safari cache, see https://github.com/vuejs/vue-cli/issues/2509
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
config.plugins.delete('preload');
|
||||
}
|
||||
},
|
||||
|
||||
devServer: {
|
||||
headers: { 'Cache-Control': 'no-store' },
|
||||
disableHostCheck: true,
|
||||
proxy: {
|
||||
// proxy all requests to the server at IP:PORT as specified in the top-level config
|
||||
|
||||
Reference in New Issue
Block a user