1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-13 08:41:46 +00:00
bramw_baserow/web-frontend/config/nuxt.config.base.js
2020-05-18 15:50:48 +00:00

20 lines
551 B
JavaScript

export default function (base = '@') {
return {
modules: [
base + '/modules/core/module.js',
base + '/modules/database/module.js',
],
env: {
// The API base url, this will be prepended to the urls of the remote calls.
baseUrl: 'http://backend:8000/api/v0',
// If the API base url must different at the client side it can be changed
// here.
publicBaseUrl: 'http://localhost:8000/api/v0',
// The public web frontend URL.
publicWebFrontendUrl: 'http://localhost:3000',
},
}
}