Skip to content

Commit

Permalink
[feature] Rename serviceworker to document_editor_service_worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
konovalovsergey committed Aug 28, 2024
1 parent 0054285 commit 19681c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DocService/sources/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,9 @@ docsCoServer.install(server, () => {
}
});
});
app.get('/serviceworker.js', apicache.middleware("5 min"), async (req, res) => {
app.get('/document_editor_service_worker.js', apicache.middleware("5 min"), async (req, res) => {
//make handler only for development version
res.sendFile(path.resolve("../../sdkjs/common/serviceworker/serviceworker.js"));
res.sendFile(path.resolve("../../sdkjs/common/serviceworker/document_editor_service_worker.js"));
});
app.use((err, req, res, next) => {
let ctx = new operationContext.Context();
Expand Down

0 comments on commit 19681c6

Please sign in to comment.