aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/html.rs17
-rw-r--r--src/main.rs17
-rw-r--r--src/response.rs17
-rw-r--r--src/url.rs17
4 files changed, 0 insertions, 68 deletions
diff --git a/src/html.rs b/src/html.rs
index ae7dc41..2574d8b 100644
--- a/src/html.rs
+++ b/src/html.rs
@@ -1,20 +1,3 @@
-// This file is part of September <https://github.com/gemrest/september>.
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, version 3.
-//
-// 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
-// General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program. If not, see <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
use {germ::ast::Node, std::env::var, url::Url};
fn link_from_host_href(url: &Url, href: &str) -> Option<String> {
diff --git a/src/main.rs b/src/main.rs
index c56c9e0..fd24088 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,20 +1,3 @@
-// This file is part of September <https://github.com/gemrest/september>.
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, version 3.
-//
-// 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
-// General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program. If not, see <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
#![deny(
warnings,
nonstandard_style,
diff --git a/src/response.rs b/src/response.rs
index 3521e99..329d7b2 100644
--- a/src/response.rs
+++ b/src/response.rs
@@ -1,20 +1,3 @@
-// This file is part of September <https://github.com/gemrest/september>.
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, version 3.
-//
-// 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
-// General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program. If not, see <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
use {
crate::url::from_path as url_from_path,
actix_web::{Error, HttpResponse},
diff --git a/src/url.rs b/src/url.rs
index 1784be6..6ad7228 100644
--- a/src/url.rs
+++ b/src/url.rs
@@ -1,20 +1,3 @@
-// This file is part of September <https://github.com/gemrest/september>.
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, version 3.
-//
-// 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
-// General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program. If not, see <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
use url::Url;
pub fn from_path(