Skip to content

Commit 1ae8b1e

Browse files
committed
version 0.14.2
1 parent 7eee11f commit 1ae8b1e

File tree

8 files changed

+17
-16
lines changed

8 files changed

+17
-16
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=0.14.1
1+
VERSION=0.14.2
22
DATE=`date -uR`
33
YEAR=`date +%Y`
44

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
alt="Logo of Wayne library - it represents construction worker helmet and text with the name of the library" />
44
</h1>
55

6-
[![npm](https://img.shields.io/badge/npm-0.14.1-blue.svg)](https://www.npmjs.com/package/@jcubic/wayne)
6+
[![npm](https://img.shields.io/badge/npm-0.14.2-blue.svg)](https://www.npmjs.com/package/@jcubic/wayne)
77
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://makeapullrequest.com)
88

99
[Service Worker Routing library for in-browser HTTP requests](https://github.com/jcubic/wayne/)

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Wayne - Server Worker Routing library (v. 0.14.1)
2+
* Wayne - Server Worker Routing library (v. 0.14.2)
33
*
44
* Copyright (c) 2022-2024 Jakub T. Jankiewicz <https://jcubic.pl/me>
55
* Released under MIT license

index.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.umd.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/*
2-
* Wayne - Server Worker Routing library (v. 0.14.0)
2+
* Wayne - Server Worker Routing library (v. 0.14.1)
33
*
44
* Copyright (c) 2022-2024 Jakub T. Jankiewicz <https://jcubic.pl/me>
55
* Released under MIT license
66
*
7-
* Sat, 27 Jan 2024 19:09:38 +0000
7+
* Sat, 10 Feb 2024 16:26:26 +0000
88
*/
99
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.wayne = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
1010
"use strict";
@@ -19,7 +19,7 @@ exports.Wayne = void 0;
1919
exports.rpc = rpc;
2020
exports.send = send;
2121
/*
22-
* Wayne - Server Worker Routing library (v. 0.14.1)
22+
* Wayne - Server Worker Routing library (v. 0.14.2)
2323
*
2424
* Copyright (c) 2022-2024 Jakub T. Jankiewicz <https://jcubic.pl/me>
2525
* Released under MIT license
@@ -386,7 +386,8 @@ function FileSystem(options) {
386386
const url = new URL(req.url);
387387
let path_name = normalize_url(decodeURIComponent(url.pathname));
388388
url.pathname = path_name;
389-
if (!(url.host === self.location.hostname && (await test(url)))) {
389+
console.log(url);
390+
if (!(url.hostname === self.location.hostname && (await test(url)))) {
390391
return next();
391392
}
392393
if (req.method !== 'GET') {

index.umd.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jcubic/wayne",
3-
"version": "0.14.1",
3+
"version": "0.14.2",
44
"description": "Service Worker Routing for in browser HTTP requests",
55
"type": "module",
66
"main": "index.min.js",

0 commit comments

Comments
 (0)