refactor: more comprehensive dev and prod env isolation and build process
This commit is contained in:
1 parent
5a14f4161f
commit
0815c2f07f
18 files changed
+62
-3995
No files matched your search
@@ -3,9 +3,9 @@ import { OneBotConfig } from '../../../src/onebot/config/config';
|
||||
export class QQLoginManager {
|
||||
private retCredential: string;
|
||||
private readonly apiPrefix: string;
|
||||
// TODO:
|
||||
|
||||
//调试时http://127.0.0.1:6099/api 打包时 ../api
|
||||
constructor(retCredential: string, apiPrefix: string = 'http://127.0.0.1:6099/api') {
|
||||
constructor(retCredential: string, apiPrefix: string = '../api') {
|
||||
this.retCredential = retCredential;
|
||||
this.apiPrefix = apiPrefix;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user