Add gitpod related changes
This commit is contained in:
parent
70495c6a27
commit
15e62d62f6
|
@ -28,7 +28,8 @@ export const install: InitModule = async ({ store, router }) => {
|
||||||
const defaultInstanceUrl = store.state.instance.frontSettings.defaultServerUrl
|
const defaultInstanceUrl = store.state.instance.frontSettings.defaultServerUrl
|
||||||
store.commit('instance/instanceUrl', defaultInstanceUrl)
|
store.commit('instance/instanceUrl', defaultInstanceUrl)
|
||||||
} else {
|
} else {
|
||||||
// needed to trigger initialization of axios / service worker / web socket
|
// NOTE: Needed to trigger initialization of axios / service worker / web socket
|
||||||
|
// TODO (wvffle): Check if it is really needed
|
||||||
store.commit('instance/instanceUrl', store.state.instance.instanceUrl)
|
store.commit('instance/instanceUrl', store.state.instance.instanceUrl)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,6 +58,7 @@ const store: Module<State, RootState> = {
|
||||||
namespaced: true,
|
namespaced: true,
|
||||||
state: {
|
state: {
|
||||||
frontSettings: {
|
frontSettings: {
|
||||||
|
// TODO (wvffle): Remove all checks if the variable exists
|
||||||
defaultServerUrl: instanceUrl,
|
defaultServerUrl: instanceUrl,
|
||||||
additionalStylesheets: []
|
additionalStylesheets: []
|
||||||
},
|
},
|
||||||
|
|
|
@ -43,7 +43,6 @@ export default defineConfig(() => ({
|
||||||
navigateFallback: 'index.html'
|
navigateFallback: 'index.html'
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'fix-fomantic-ui-css',
|
name: 'fix-fomantic-ui-css',
|
||||||
transform (src, id) {
|
transform (src, id) {
|
||||||
|
|
Loading…
Reference in New Issue