mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 18:35:09 +01:00
Merge remote-tracking branch 'remotes/origin/master' into AD-504-revive-coa-for-new-frontend
This commit is contained in:
commit
1c116bc7be
@ -94,7 +94,7 @@ A: Use `npm dedupe` to remove duplicates in npm. This might fix that you're not
|
|||||||
Q: How can I use a local copy of SPOOL and Onion?
|
Q: How can I use a local copy of SPOOL and Onion?
|
||||||
A: Easily by starting the your gulp process with the following command:
|
A: Easily by starting the your gulp process with the following command:
|
||||||
```
|
```
|
||||||
ONION_BASE_URL='/' ONION_API_ENDPOINT='http://localhost:8000/api/' ONION_SERVER_URL='http://localhost:8000/' gulp serve
|
ONION_BASE_URL='/' ONION_API_ENDPOINT='http://localhost:8000/' gulp serve
|
||||||
```
|
```
|
||||||
|
|
||||||
Reading list
|
Reading list
|
||||||
|
@ -55,8 +55,8 @@ var config = {
|
|||||||
|
|
||||||
var constants = {
|
var constants = {
|
||||||
BASE_URL: (function () { var baseUrl = process.env.ONION_BASE_URL || '/'; return baseUrl + (baseUrl.match(/\/$/) ? '' : '/'); })(),
|
BASE_URL: (function () { var baseUrl = process.env.ONION_BASE_URL || '/'; return baseUrl + (baseUrl.match(/\/$/) ? '' : '/'); })(),
|
||||||
API_ENDPOINT: process.env.ONION_API_ENDPOINT || 'http://staging.ascribe.io/api/',
|
|
||||||
SERVER_URL: process.env.ONION_SERVER_URL || 'http://staging.ascribe.io/',
|
SERVER_URL: process.env.ONION_SERVER_URL || 'http://staging.ascribe.io/',
|
||||||
|
API_ENDPOINT: process.env.ONION_SERVER_URL + 'api/' || 'http://staging.ascribe.io/api/',
|
||||||
DEBUG: !argv.production,
|
DEBUG: !argv.production,
|
||||||
CREDENTIALS: 'ZGltaUBtYWlsaW5hdG9yLmNvbTowMDAwMDAwMDAw' // dimi@mailinator:0000000000
|
CREDENTIALS: 'ZGltaUBtYWlsaW5hdG9yLmNvbTowMDAwMDAwMDAw' // dimi@mailinator:0000000000
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user