Skip to content

Commit 7849dc8

Browse files
authored
Merge pull request #33 from vuestorefront-community/dev
[ADD] middlewareurl to config
2 parents 46d14b2 + e5713a2 commit 7849dc8

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.env.example

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
BASE_URL=https://vsfdemo15.labs.odoogap.com/
2+
NODE_API_BASE_URL=http://localhost:3000/api/
23
SITE_URL=https://vsf.labs.odoogap.com/
34
# PUBLIC_PATH=https://xyz.cloudfront.cdn.com
45
# For CI and other deployment scripts

nuxt.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ export default {
160160
],
161161
publicRuntimeConfig: {
162162
theme,
163+
middlewareUrl: process.env.NODE_API_BASE_URL,
163164
baseURL: process.env.BASE_URL,
164165
siteURL: process.env.SITE_URL
165166
},

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@vue-storefront/middleware": "2.7.5",
4343
"@vue-storefront/nuxt": "2.7.5",
4444
"@vue-storefront/nuxt-theme": "2.7.5",
45-
"@vue-storefront/odoo": "1.4.3-rc.18",
45+
"@vue-storefront/odoo": "1.5.0",
4646
"@vue-storefront/redis-cache": "^1.0.1",
4747
"cookie-universal-nuxt": "^2.1.3",
4848
"core-js": "^2.6.5",

0 commit comments

Comments
 (0)