aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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",
+};