This commit is contained in:
Dominic Harris 2022-02-28 16:12:46 -05:00
parent 2495eb83d2
commit c53caba8b6
No known key found for this signature in database
GPG Key ID: 93CCF85F3E2A4F65
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ pub struct DatabasesConfig {
}
pub fn load(path: PathBuf) -> Config {
let file = File::open(path).expect("Failed to load config.json");
let file = File::open(path).expect("Failed to load config");
let config = serde_json::from_reader(file).unwrap();
config

View File

@ -67,7 +67,7 @@ function newPaste() {
}
function addMessage(message) {
let msg = $(`<li>${message || "Unknown error occurred.."}</li>`);
let msg = $(`<li>${message}</li>`);
messages.prepend(msg);
setTimeout(function () {