mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-19 13:06:22 +00:00
Small fixes
This commit is contained in:
@@ -17,7 +17,7 @@ declare const self: ServiceWorkerGlobalScope;
|
||||
|
||||
clientsClaim();
|
||||
|
||||
// Precache all of the assets generated by your build process.
|
||||
// Precache all the assets generated by your build process.
|
||||
// Their URLs are injected into the manifest variable below.
|
||||
// This variable must be present somewhere in your service worker file,
|
||||
// even if you decide not to use precaching. See https://cra.link/PWA
|
||||
@@ -49,7 +49,7 @@ registerRoute(
|
||||
// Return true to signal that we want to use the handler.
|
||||
return true;
|
||||
},
|
||||
createHandlerBoundToURL('/index.html')
|
||||
createHandlerBoundToURL('/index.html') // TODO Add prefix
|
||||
);
|
||||
|
||||
// An example runtime caching route for requests that aren't handled by the
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import csv from 'csvtojson';
|
||||
// @ts-expect-error gfgf
|
||||
import { Parser } from '@json2csv/plainjs';
|
||||
|
||||
export const csvToJson = <T>(csvContent: string) => new Promise<T[]>((resolve) => {
|
||||
|
||||
Reference in New Issue
Block a user