fix(core): update
This commit is contained in:
parent
c0e264146b
commit
7e34275029
@ -3,7 +3,7 @@ import { AgTestServer } from './test-sdk.classes.testserver';
|
|||||||
|
|
||||||
export {
|
export {
|
||||||
AgTestServer
|
AgTestServer
|
||||||
}
|
};
|
||||||
|
|
||||||
let testServer: AgTestServer;
|
let testServer: AgTestServer;
|
||||||
export const createTestServer = async (handlerArg: plugins.agSdk.AAgHandler<any>) => {
|
export const createTestServer = async (handlerArg: plugins.agSdk.AAgHandler<any>) => {
|
||||||
|
@ -21,6 +21,7 @@ export class AgTestServer {
|
|||||||
cors: true,
|
cors: true,
|
||||||
defaultAnswer: async () => 'apiglobal testserver',
|
defaultAnswer: async () => 'apiglobal testserver',
|
||||||
domain: 'localhost',
|
domain: 'localhost',
|
||||||
|
port: 3000,
|
||||||
forceSsl: false,
|
forceSsl: false,
|
||||||
});
|
});
|
||||||
for (const handlerArg of this.handlers) {
|
for (const handlerArg of this.handlers) {
|
||||||
|
Loading…
Reference in New Issue
Block a user