mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-16 15:21:48 +03:00
Better comments
This commit is contained in:
parent
83e6a2b599
commit
2cd235a069
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ const imageRoute = new Route(
|
|||
);
|
||||
registerRoute(imageRoute);
|
||||
|
||||
// Cache /instance because masto.js has to keep calling it while initializing
|
||||
// 1-day cache for /api/v1/instance and /api/v1/custom_emojis
|
||||
const apiExtendedRoute = new RegExpRoute(
|
||||
/^https?:\/\/[^\/]+\/api\/v\d+\/(instance|custom_emojis)/,
|
||||
new StaleWhileRevalidate({
|
||||
|
|
Loading…
Add table
Reference in a new issue