From 7ace430deea207fa303167b1da6e94ef4c01161b Mon Sep 17 00:00:00 2001 From: richard-dds Date: Tue, 12 Nov 2019 12:53:17 -0500 Subject: [PATCH] Use url_for for all static paths --- package.json | 1 + templates/about.html | 3 ++- templates/base.html | 2 +- templates/base_public.html | 2 +- templates/error_base.html | 2 +- templates/help/docs/getting-started.html | 2 +- templates/home.html | 2 +- 7 files changed, 8 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 3b7f50c4..8521623c 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "watch": "parcel watch js/index.js -d static/assets --public-url /static/assets -o index.js --no-autoinstall", "build": "parcel build js/index.js -d static/assets --public-url /static/assets -o index.js", + "build-prod": "parcel build js/index.js -d static/assets --public-url $CDN_URL -o index.js", "test": "jest", "test:coverage": "jest --coverage --collectCoverageFrom='js/**/*.js'", "test:watch": "jest --watch --no-cache" diff --git a/templates/about.html b/templates/about.html index b7ebce79..6e24b662 100644 --- a/templates/about.html +++ b/templates/about.html @@ -6,7 +6,8 @@
diff --git a/templates/base.html b/templates/base.html index c06a05fb..fabcb92c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -8,7 +8,7 @@ {% assets "css" %} {% endassets %} - + diff --git a/templates/base_public.html b/templates/base_public.html index 248c302a..7b872471 100644 --- a/templates/base_public.html +++ b/templates/base_public.html @@ -10,7 +10,7 @@ {% assets "css" %} {% endassets %} - + diff --git a/templates/error_base.html b/templates/error_base.html index 253a62f8..92be8e60 100644 --- a/templates/error_base.html +++ b/templates/error_base.html @@ -7,7 +7,7 @@ {% assets "css" %} {% endassets %} - + diff --git a/templates/help/docs/getting-started.html b/templates/help/docs/getting-started.html index deb9b935..bf32e037 100644 --- a/templates/help/docs/getting-started.html +++ b/templates/help/docs/getting-started.html @@ -132,6 +132,6 @@

Here’s an example:
Application A has a development environment, production environment, and sandbox environment. The cloud resources in the development environment are grouped and accessed separately from the production environment and sandbox environment.

-AT-AT FAQs Content +AT-AT FAQs Content {% endblock %} diff --git a/templates/home.html b/templates/home.html index bcfc5c04..91774138 100644 --- a/templates/home.html +++ b/templates/home.html @@ -94,7 +94,7 @@
- JEDI heirarchy diagram + JEDI heirarchy diagram