Add copyright identifiers

This commit is contained in:
Luke Harding 2024-05-02 20:09:52 -04:00
parent b6dcb1dbf3
commit b0cedf2866
2 changed files with 7 additions and 3 deletions

View File

@ -1,9 +1,10 @@
// SPDX-License-Identifier: GPL-3.0-Only
// Copyright (C) 2024 Luke Harding
use std::env;
use actix_web::{App, get, HttpResponse, HttpServer, Responder};
use crate::util::warn_println;
mod util;
#[actix_web::main]
@ -19,7 +20,7 @@ async fn main() -> std::io::Result<()> {
if let Ok(env_port) = env_port.parse::<u16>() {
port = env_port;
} else {
warn_println("Failed to parse PORT env variable using default value.");
util::warn_println("Failed to parse PORT env variable using default value.");
}
}

View File

@ -1,3 +1,6 @@
// SPDX-License-Identifier: GPL-3.0-Only
// Copyright (C) 2024 Luke Harding
use colored::Colorize;
pub fn print_copyright_notice() {