chore(deps): update @nuxt/loading-screen to 2.0.0-rc.4

This commit is contained in:
Pooya Parsa 2020-06-16 15:48:10 +02:00
parent f8c0b781ab
commit 2faa30259f
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@
"@nuxt/components": "^0.3.4",
"@nuxt/core": "2.12.1",
"@nuxt/generator": "2.12.1",
"@nuxt/loading-screen": "^2.0.0-rc.3",
"@nuxt/loading-screen": "^2.0.0-rc.4",
"@nuxt/opencollective": "^0.3.0",
"@nuxt/telemetry": "^0.0.9",
"@nuxt/webpack": "2.12.1"

View File

@ -77,7 +77,7 @@ export default {
return
}
this._connecting = true
this.sse = new EventSource('<%= nuxtOptions._loadingScreenBaseURL %>/sse')
this.sse = new EventSource('<%= nuxtOptions.build.loadingScreen.baseURLAlt %>/sse')
this.sse.addEventListener('message', event => this.onSseMessage(event))
},
onSseMessage (message) {