Update backend/src/api/prices/prices.routes.ts

This commit is contained in:
softsimon authored and softsimon committed 2023-08-03 17:43:02 +09:00
1 parent 2e4306d795
commit bb7f73637b
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ class PricesRoutes {
app.get(config.MEMPOOL.API_URL_PREFIX + 'prices', this.$getCurrentPrices.bind(this));
}
private async $getCurrentPrices(req: Request, res: Response): Promise<void> {
private $getCurrentPrices(req: Request, res: Response): void {
res.header('Pragma', 'public');
res.header('Cache-control', 'public');
res.setHeader('Expires', new Date(Date.now() + 1000 * 300).toUTCString());