Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 29ef6db

Browse files
committed
Added baseURL and browserBaseURL to nuxt.config.js axios config
1 parent 5b11c7b commit 29ef6db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎nuxt.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ export default {
7979

8080
// @nuxtjs/axios plugin configuration
8181
axios: {
82-
prefix: '/'
82+
prefix: '/',
83+
baseUrl: '/', // For the server
84+
browserBaseURL: '/'
8385
},
8486

8587
// @nuxtjs/proxy configuration

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /