Fix accessing versioned resource using file service

Fixes #986.
This commit is contained in:
Asher
2019-09-16 10:59:28 -05:00
parent 0141ded35d
commit 5c16399810
2 changed files with 3 additions and 3 deletions

View File

@@ -279,7 +279,7 @@ export abstract class Server {
// without adding query parameters which have their own issues.
// REVIEW: Discuss whether this is the best option; this is sort of a quick
// hack almost to get caching in the meantime but it does work pretty well.
if (/static-.+/.test(base)) {
if (/^\/static-.+/.test(base)) {
base = "/static";
}