diff --git a/Procfile b/Procfile deleted file mode 100644 index 9ec9fe0..0000000 --- a/Procfile +++ /dev/null @@ -1 +0,0 @@ -web: ./target/release/osma-server diff --git a/src/core.rs b/src/core.rs index 53255ad..9fa0c64 100644 --- a/src/core.rs +++ b/src/core.rs @@ -1,3 +1,18 @@ +// Copyright (c) 2023 artegoser (Artemy Egorov) +// +// 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, 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 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 . + use actix_web::web::Json; use bson::{doc, Document}; diff --git a/src/main.rs b/src/main.rs index cfe28b1..0e88002 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,18 @@ +// Copyright (c) 2023 artegoser (Artemy Egorov) +// +// 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, 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 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 . + use actix_cors::Cors; use actix_web::{web, App, Error, HttpServer}; use dotenv::dotenv; diff --git a/src/routes.rs b/src/routes.rs index e860de6..b45c6e9 100644 --- a/src/routes.rs +++ b/src/routes.rs @@ -1,3 +1,18 @@ +// Copyright (c) 2023 artegoser (Artemy Egorov) +// +// 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, 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 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 . + use crate::types::*; use actix_web::{get, post, web, HttpRequest, HttpResponse, Responder}; use actix_web_grants::proc_macro::has_any_permission; diff --git a/src/types.rs b/src/types.rs index 27d9fd7..0442777 100644 --- a/src/types.rs +++ b/src/types.rs @@ -1,3 +1,18 @@ +// Copyright (c) 2023 artegoser (Artemy Egorov) +// +// 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, 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 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 . + use serde::{Deserialize, Serialize}; #[derive(Debug, Serialize, Deserialize)]