diff --git a/cryptify-front-end/public/config.js b/cryptify-front-end/public/config.js new file mode 100644 index 0000000..b89178e --- /dev/null +++ b/cryptify-front-end/public/config.js @@ -0,0 +1,5 @@ +// runtime configuration for the frontend so it can easily be configured on a prebuilt container +window.__APP_CONFIG__ = { + BACKEND_URL: "https://cryptify.nl/api/v2", + PKG_URL: "https://postguard-stable.cs.ru.nl/pkg", +}; \ No newline at end of file diff --git a/cryptify-front-end/public/index.html b/cryptify-front-end/public/index.html index 8db41df..fb09e38 100644 --- a/cryptify-front-end/public/index.html +++ b/cryptify-front-end/public/index.html @@ -20,6 +20,7 @@ user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ --> +