From e5090963e644502374f33406bda6efc6021d8dae Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sat, 4 Jun 2022 22:30:47 +0430 Subject: added config file --- spring-front/src/components/Editor.js | 1 + spring-front/src/config.js | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 spring-front/src/config.js (limited to 'spring-front') 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", +}; -- cgit v1.2.3