mirror of
https://github.com/suitenumerique/docs.git
synced 2026-04-25 17:15:01 +02:00
♻️(frontend) all dev origins when using the tilt environment
When developping using the tilt environment, we need to allow the domain docs.127.0.0.1.nip.io in the next configuration. Also the the customization is removed as it is not maintained.
This commit is contained in:
@@ -6,6 +6,7 @@ const buildId = crypto.randomBytes(256).toString('hex').slice(0, 8);
|
|||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
|
allowedDevOrigins: ['docs.127.0.0.1.nip.io'],
|
||||||
output: 'export',
|
output: 'export',
|
||||||
trailingSlash: true,
|
trailingSlash: true,
|
||||||
images: {
|
images: {
|
||||||
|
|||||||
@@ -121,10 +121,6 @@ backend:
|
|||||||
python manage.py createsuperuser --email admin@example.com --password admin
|
python manage.py createsuperuser --email admin@example.com --password admin
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
|
||||||
themeCustomization:
|
|
||||||
enabled: true
|
|
||||||
file_content: {{ readFile "./configuration/theme/demo.json" }}
|
|
||||||
|
|
||||||
# Extra volume mounts to manage our local custom CA and avoid to set ssl_verify: false
|
# Extra volume mounts to manage our local custom CA and avoid to set ssl_verify: false
|
||||||
extraVolumeMounts:
|
extraVolumeMounts:
|
||||||
- name: certs
|
- name: certs
|
||||||
|
|||||||
Reference in New Issue
Block a user