[Dashboard] Add the new dashboard code and prompt users to try it (#11667)

This commit is contained in:
Dominic Ming
2021-01-29 15:22:26 +08:00
committed by GitHub
parent 42d501d747
commit 752da83bb7
52 changed files with 4650 additions and 33 deletions
+1 -4
View File
@@ -1,7 +1,4 @@
const base =
process.env.NODE_ENV === "development"
? "http://localhost:8265"
: window.location.origin;
const base = window.location.origin;
type APIResponse<T> = {
result: boolean;