diff --git a/templates/_reset.scss b/templates/_reset.scss index 23b71db5..8d05a6c1 100644 --- a/templates/_reset.scss +++ b/templates/_reset.scss @@ -1,18 +1,12 @@ /* - * Copyright (C) 2022 Aravinth Manivannan + * mCaptcha is a PoW based DoS protection software. + * This is the frontend web component of the mCaptcha system + * Copyright © 2023 Aravinth Manivnanan . * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * Use of this source code is governed by Apache 2.0 or MIT license. + * You shoud have received a copy of MIT and Apache 2.0 along with + * this program. If not, see for + * MIT or for Apache. */ * { diff --git a/templates/widget/main.scss b/templates/widget/main.scss index c310d847..d3425623 100644 --- a/templates/widget/main.scss +++ b/templates/widget/main.scss @@ -1,21 +1,15 @@ /* - * Copyright (C) 2022 Aravinth Manivannan + * mCaptcha is a PoW based DoS protection software. + * This is the frontend web component of the mCaptcha system + * Copyright © 2023 Aravinth Manivnanan . * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * Use of this source code is governed by Apache 2.0 or MIT license. + * You shoud have received a copy of MIT and Apache 2.0 along with + * this program. If not, see for + * MIT or for Apache. */ -@import '../reset'; +@import "../reset"; .widget__contaienr { align-items: center; diff --git a/templates/widget/service-worker.ts b/templates/widget/service-worker.ts index bd5d0ab9..00975bad 100644 --- a/templates/widget/service-worker.ts +++ b/templates/widget/service-worker.ts @@ -1,23 +1,19 @@ /* - * Copyright (C) 2022 Aravinth Manivannan + * mCaptcha is a PoW based DoS protection software. + * This is the frontend web component of the mCaptcha system + * Copyright © 2023 Aravinth Manivnanan . * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * Use of this source code is governed by Apache 2.0 or MIT license. + * You shoud have received a copy of MIT and Apache 2.0 along with + * this program. If not, see for + * MIT or for Apache. */ -import prove from "./prove"; -import { PoWConfig, ServiceWorkerWork } from "./types"; + import log from "../logger"; +import prove from "./prove"; +import {PoWConfig, ServiceWorkerWork} from "./types"; + log.log("worker registered"); onmessage = async (e) => { console.debug("message received at worker");