use api v2 for add comment
This commit is contained in:
@@ -16,6 +16,7 @@ import renderMd from './Markdown';
|
||||
export { format_time, Time, TitleLine };
|
||||
|
||||
export const API_BASE = `${process.env.REACT_APP_BACKEND || '/'}_api/v1`;
|
||||
export const API_BASE_2 = `${process.env.REACT_APP_BACKEND || '/'}_api/v2`;
|
||||
|
||||
// https://stackoverflow.com/questions/3446170/escape-string-for-use-in-javascript-regex
|
||||
function escape_regex(string) {
|
||||
|
||||
Reference in New Issue
Block a user