Browse Source

fix: app to online server

ryanemax 8 months ago
parent
commit
90a7c1d7a3
2 changed files with 3 additions and 1 deletions
  1. 2 0
      README.md
  2. 1 1
      projects/textbook/src/app/app.component.ts

+ 2 - 0
README.md

@@ -20,6 +20,8 @@ npm run start
     - root@8.140.98.43
 - 数据库
     - psql --dbname=postgresql://postgres:Edu2024textbask@127.0.0.1:25432/
+- 管理看板
+    - parse-dashboard --appId edu-textbook --masterKey "EDU2024" --serverURL http://8.140.98.43/parse --appName NovaCloud
 ``` sql
 ALTER USER postgres WITH PASSWORD 'Edu2024textbask';
 ```

+ 1 - 1
projects/textbook/src/app/app.component.ts

@@ -16,7 +16,7 @@ export class AppComponent {
   }
   initParseService(){
     Parse.initialize("edu-textbook");
-    (Parse as any).serverURL = ("http://localhost:61337/parse");
+    (Parse as any).serverURL = ("http://8.140.98.43/parse");
     localStorage.setItem('company','RbIKpmuaMC')
   }