From 3603e0b8816e82d189830985a9e9fb4363706ebe Mon Sep 17 00:00:00 2001 From: Peter Hoppe Date: Wed, 8 Mar 2023 00:36:39 +0100 Subject: [PATCH] data from settings.js --- .env.local | 1 + .gitignore | 1 - public/index.html | 1 + public/settings.js | 45 +++++++++++++++++++ src/components/ImageGallery.tsx | 1 + ...allery.json => gallery_2_settings_js.json} | 0 src/state.ts | 6 +-- 7 files changed, 51 insertions(+), 4 deletions(-) create mode 100644 .env.local create mode 100644 public/settings.js rename src/{gallery.json => gallery_2_settings_js.json} (100%) diff --git a/.env.local b/.env.local new file mode 100644 index 0000000..795210f --- /dev/null +++ b/.env.local @@ -0,0 +1 @@ +REACT_APP_WWW_ROOT = "http://localhost/gallery/" diff --git a/.gitignore b/.gitignore index 4d29575..e40b2c6 100644 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,6 @@ # misc .DS_Store -.env.local .env.development.local .env.test.local .env.production.local diff --git a/public/index.html b/public/index.html index aa069f2..ed3e38a 100644 --- a/public/index.html +++ b/public/index.html @@ -27,6 +27,7 @@ React App +