mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
feat(api): purge media through the controller edge api (#3454)
This commit is contained in:
1 parent
f509bef1fb
commit
6e2bf3cbe6
13 files changed
+248
-22
No files matched your search
@@ -64,7 +64,11 @@ describe('processCachePurgeQueue', () => {
|
||||
let previousMedia: string;
|
||||
|
||||
beforeEach(() => {
|
||||
previousCachePurge = {adapter: Config.cachePurge.adapter, http: Config.cachePurge.http};
|
||||
previousCachePurge = {
|
||||
adapter: Config.cachePurge.adapter,
|
||||
http: Config.cachePurge.http,
|
||||
controller: Config.cachePurge.controller,
|
||||
};
|
||||
previousMedia = Config.endpoints.media;
|
||||
Config.endpoints.media = MEDIA;
|
||||
Config.cachePurge.adapter = 'http';
|
||||
|
||||
Reference in new issue
Block a user