Commit 6a01a898 authored by Addshore's avatar Addshore 🏄
Browse files

Tweak configuration for toolforge

parent a16b972f
organization:
name: Wikimedia
# Toolforge requires port 8000
# https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web/Node.js
app:
title: Wikimedia Backstage
# Should be the same as backend.baseUrl when using the `app-backend` plugin
baseUrl: http://localhost:7000
baseUrl: http://localhost:8000
backend:
baseUrl: http://localhost:7000
baseUrl: http://localhost:8000
listen:
port: 7000
port: 8000
csp:
connect-src: ["'self'", 'http:', 'https:']
# Content-Security-Policy directives follow the Helmet format: https://helmetjs.github.io/#reference
# Default Helmet Content-Security-Policy values can be removed by setting the key to false
cors:
origin: https://backstage.toolforge.org
methods: [GET, POST, PUT, DELETE]
credentials: true
\ No newline at end of file
......@@ -6,8 +6,9 @@
"node": "12 || 14"
},
"scripts": {
"dev": "concurrently \"yarn start\" \"yarn start-backend\"",
"start": "yarn workspace app start",
"dev": "concurrently \"yarn start-frontend\" \"yarn start-backend\"",
"start": "node packages/backend --config app-config.yaml",
"start-frontend": "yarn workspace app start",
"start-backend": "yarn workspace backend start",
"build": "lerna run build",
"build-image": "yarn workspace backend build-image",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment