Browse Source

This fix some fuckery

pull/100/head
Dashie der otter 1 year ago
parent
commit
6f41d2fd09
Signed by: dashie <rhaamo@leloop.org> GPG Key ID: C2D57B325840B755
3 changed files with 3 additions and 12 deletions
  1. +2
    -6
      DEVELOPMENT.md
  2. +1
    -1
      front/config/index.js
  3. +0
    -5
      front/yarn.lock

+ 2
- 6
DEVELOPMENT.md View File

@@ -31,15 +31,11 @@ Create `front/config/local.json` with:

```json
{
"target": "http://reel2bits.dev.lan.sigpipe.me/"
"target": "http://127.0.0.1:5000/"
}
```

Uses whatever dns you want, but it needs to match the AP_DOMAIN in `config.py`.

Also add that dns into your `/etc/hosts`.

And you need to run it proxified by nginx or whatever else.
Also comment `SERVER_NAME` and `BASE_URL` in `config.py` when in dev.

Run the front with: `cd front && npm run dev`



+ 1
- 1
front/config/index.js View File

@@ -11,7 +11,7 @@ try {
console.log('Local dev server settings not found (/config/local.json)')
}

const target = settings.target || 'http://localhost:4000/'
const target = settings.target || 'http://localhost:5000/'

module.exports = {
build: {


+ 0
- 5
front/yarn.lock View File

@@ -8525,11 +8525,6 @@ websocket-extensions@>=0.1.1:
resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.3.tgz#5d2ff22977003ec687a4b87073dfbbac146ccf29"
integrity sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg==

whatwg-fetch@^2.0.3:
version "2.0.4"
resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz#dde6a5df315f9d39991aa17621853d720b85566f"
integrity sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng==

which-module@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"


Loading…
Cancel
Save