From 8d9683b17df47be4394e67f62d89abdd1ca29b71 Mon Sep 17 00:00:00 2001 From: Korbs Date: Wed, 23 Oct 2024 13:59:48 -0400 Subject: [PATCH] Import and export ENV file --- source/src/tools/utilities/GetConfig.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 source/src/tools/utilities/GetConfig.js diff --git a/source/src/tools/utilities/GetConfig.js b/source/src/tools/utilities/GetConfig.js new file mode 100644 index 0000000..d3c965a --- /dev/null +++ b/source/src/tools/utilities/GetConfig.js @@ -0,0 +1,20 @@ +export var SERVER_ADMIN = import.meta.env.SERVER_ADMIN +export var SERVER_LOCATION = import.meta.env.SERVER_LOCATION +export var SERVER_DOMAIN = import.meta.env.SERVER_DOMAIN +export var FOOTER_VERSION = import.meta.env.FOOTER_VERSION +export var MODIFIED = import.meta.env.MODIFIED +export var CUSTOM_SOURCE_CODE = import.meta.env.CUSTOM_SOURCE_CODE +export var DEFAULT_LANGUAGE = import.meta.env.DEFAULT_LANGUAGE +export var DEFAULT_THEME = import.meta.env.DEFAULT_THEME +export var DEFAULT_API = import.meta.env.DEFAULT_API +export var DEFAULT_IMAGE_PROXY = import.meta.env.DEFAULT_IMAGE_PROXY +export var DEFAULT_IMAGE_PROXY_ENABLED = import.meta.env.DEFAULT_IMAGE_PROXY_ENABLED +export var DEFAULT_SEARCH_WEB = import.meta.env.DEFAULT_SEARCH_WEB +export var DEFAULT_SEARCH_IMAGE = import.meta.env.DEFAULT_SEARCH_IMAGE +export var DEFAULT_SEARCH_VIDEO = import.meta.env.DEFAULT_SEARCH_VIDEO +export var DEFAULT_SEARCH_MUSIC = import.meta.env.DEFAULT_SEARCH_MUSIC +export var DEFAULT_SEARCH_NEWS = import.meta.env.DEFAULT_SEARCH_NEWS +export var DEFAULT_FRONTEND_YOUTUBE = import.meta.env.DEFAULT_FRONTEND_YOUTUBE +export var DEFAULT_FRONTEND_YOUTUBEMUSIC = import.meta.env.DEFAULT_FRONTEND_YOUTUBEMUSIC +export var DEFAULT_FRONTEND_STACKOVERFLOW = import.meta.env.DEFAULT_FRONTEND_STACKOVERFLOW +export var DEFAULT_FRONTEND_MEDIUM = import.meta.env.DEFAULT_FRONTEND_MEDIUM \ No newline at end of file