This repository was archived by the owner on Mar 4, 2025. It is now read-only.
File tree 3 files changed +12
-3
lines changed
cna-template/template/nuxt
create-nuxt-app/test/snapshots
3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 137
137
< % _ if ( axios ) { _ % >
138
138
139
139
// Axios module configuration: https://go.nuxtjs.dev/config-axios
140
- axios: { } ,
140
+ axios: {
141
+ // Workaround to avoid enforcing hard-coded localhost:3000: https://github.com/nuxt-community/axios-module/issues/308
142
+ baseURL : '/' ,
143
+ } ,
141
144
< % _ } _ % >
142
145
< % _ if ( pwa ) { _ % >
143
146
Original file line number Diff line number Diff line change @@ -1775,7 +1775,10 @@ Generated by [AVA](https://avajs.dev).
1775
1775
],␊
1776
1776
␊
1777
1777
// Axios module configuration: https://go.nuxtjs.dev/config-axios␊
1778
- axios: {},␊
1778
+ axios: {␊
1779
+ // Workaround to avoid enforcing hard-coded localhost:3000: https://github.com/nuxt-community/axios-module/issues/308␊
1780
+ baseURL: '/',␊
1781
+ },␊
1779
1782
␊
1780
1783
// PWA module configuration: https://go.nuxtjs.dev/pwa␊
1781
1784
pwa: {␊
@@ -1870,7 +1873,10 @@ Generated by [AVA](https://avajs.dev).
1870
1873
],␊
1871
1874
␊
1872
1875
// Axios module configuration: https://go.nuxtjs.dev/config-axios␊
1873
- axios: {},␊
1876
+ axios: {␊
1877
+ // Workaround to avoid enforcing hard-coded localhost:3000: https://github.com/nuxt-community/axios-module/issues/308␊
1878
+ baseURL: '/',␊
1879
+ },␊
1874
1880
␊
1875
1881
// Build Configuration: https://go.nuxtjs.dev/config-build␊
1876
1882
build: {␊
You can’t perform that action at this time.
0 commit comments