Add signature and authed_requests to database
This commit is contained in:
@@ -18,7 +18,7 @@ const testConfigDefaultsTo1MiBRequestBodyLimit = (): void => {
|
||||
expect(config.server.host).toBe('0.0.0.0');
|
||||
expect(config.server.cors.origin).toBe('*');
|
||||
expect(config.server.cors.methods).toEqual([ 'GET', 'POST', 'PUT', 'DELETE', 'OPTIONS' ]);
|
||||
expect(config.server.cors.allowedHeaders).toEqual([ 'Content-Type', 'cache-control', 'X-Timestamp', 'X-PublicKey', 'X-Signature' ]);
|
||||
expect(config.server.cors.allowedHeaders).toEqual([ 'Content-Type', 'cache-control', 'X-Timestamp', 'X-Public-Key', 'X-Signature' ]);
|
||||
expect(config.auth.timestampWindowMs).toBe(300000);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user