mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-09-13 00:09:02 +02:00
demo: serviceworker: nodejs
This commit is contained in:
parent
4c991bb050
commit
471de6cfc8
@ -61,7 +61,7 @@
|
||||
</SyntaxOptions>
|
||||
</Parsing>
|
||||
<CodeGeneration>
|
||||
<TargetOS Value="browser"/>
|
||||
<TargetOS Value="nodejs"/>
|
||||
</CodeGeneration>
|
||||
<Linking>
|
||||
<Debugging>
|
||||
|
@ -3,10 +3,10 @@ program ServiceWorker;
|
||||
{$mode objfpc}
|
||||
|
||||
uses
|
||||
Classes, ServiceWorkerApp;
|
||||
SysUtils, Classes, ServiceWorkerApp;
|
||||
|
||||
const
|
||||
YourCacheName = 'v6'; // usually increased with every version
|
||||
YourCacheName = 'v7'; // usually increased with every version
|
||||
// The cache is specific to your domain, so no need to include your app name.
|
||||
|
||||
type
|
||||
|
Loading…
Reference in New Issue
Block a user