Import and export ENV file
This commit is contained in:
parent
6ec8a041ff
commit
8d9683b17d
1 changed files with 20 additions and 0 deletions
20
source/src/tools/utilities/GetConfig.js
Normal file
20
source/src/tools/utilities/GetConfig.js
Normal file
|
@ -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
|
Loading…
Reference in a new issue