Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuoqiu-Yingyi committed Nov 22, 2023
1 parent ae0268e commit e6fedde
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ export class App {

/// #if BROWSER
await registerServiceWorker();
/// #endif
/// #if !BROWSER
/// #else
await unregisterServiceWorker();
/// #endif
addScriptSync(`${Constants.PROTYLE_CDN}/js/lute/lute.min.js?v=${Constants.SIYUAN_VERSION}`, "protyleLuteScript");
Expand Down

0 comments on commit e6fedde

Please sign in to comment.