aboutsummaryrefslogtreecommitdiff
path: root/client/src/utils/constants.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/utils/constants.js')
-rw-r--r--client/src/utils/constants.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/client/src/utils/constants.js b/client/src/utils/constants.js
new file mode 100644
index 0000000..07e50c6
--- /dev/null
+++ b/client/src/utils/constants.js
@@ -0,0 +1,25 @@
+export const SERVER_BASE_URL = import.meta.env.VITE_SERVER_BASE_URL;
+export const SUPPORTED_LANGUAGES = {
+ none: "Plain Text",
+ c: "C",
+ cpp: "C++",
+ css: "CSS",
+ git: "Git",
+ go: "Golang",
+ html: "HTML",
+ java: "Java",
+ js: "JavaScript",
+ json: "JSON",
+ jsx: "JSX",
+ kotlin: "Kotlin",
+ lua: "Lua",
+ md: "Markdown",
+ py: "Python",
+ rust: "Rust",
+ sh: "Shell",
+ sql: "SQL",
+ ts: "TypeScript",
+ tsx: "TSX",
+ url: "URL",
+ xml: "XML",
+};