aboutsummaryrefslogtreecommitdiffstats
path: root/spring-front
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-06-04 18:00:47 +0000
committerterminaldweller <thabogre@gmail.com>2022-06-04 18:00:47 +0000
commite5090963e644502374f33406bda6efc6021d8dae (patch)
tree46c402f0399d597b1dba4cf0d99d8212d842031a /spring-front
parentserver config (diff)
downloadmdrtl-e5090963e644502374f33406bda6efc6021d8dae.tar.gz
mdrtl-e5090963e644502374f33406bda6efc6021d8dae.zip
added config file
Diffstat (limited to 'spring-front')
-rw-r--r--spring-front/src/components/Editor.js1
-rw-r--r--spring-front/src/config.js3
2 files changed, 4 insertions, 0 deletions
diff --git a/spring-front/src/components/Editor.js b/spring-front/src/components/Editor.js
index 21d4bed..5f561b8 100644
--- a/spring-front/src/components/Editor.js
+++ b/spring-front/src/components/Editor.js
@@ -14,6 +14,7 @@ import mithljs from "markdown-it-highlightjs";
import mittexmath from "markdown-it-texmath";
import mitmmdtable from "markdown-it-multimd-table";
import katex from "katex";
+import { mdrtlConfig } from "../config.js";
hljs.registerLanguage("markdown", markdown);
hljs.registerLanguage("javascript", javascript);
diff --git a/spring-front/src/config.js b/spring-front/src/config.js
new file mode 100644
index 0000000..a2f9bc4
--- /dev/null
+++ b/spring-front/src/config.js
@@ -0,0 +1,3 @@
+export const mdrtlConfig = {
+ serverURL: "apimdrtl.terminaldweller.com",
+};