From e25beb3e0c2531b09d8efd70e858396dcc631dd2 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 2 Oct 2023 20:02:06 +0200 Subject: add profiles to jhls --- common/src/config.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'common/src/config.rs') diff --git a/common/src/config.rs b/common/src/config.rs index e30e70b..2666d17 100644 --- a/common/src/config.rs +++ b/common/src/config.rs @@ -4,7 +4,7 @@ Copyright (C) 2023 metamuffin */ -use crate::{user::PermissionSet, EncodingProfile}; +use crate::{jhls::EncodingProfile, user::PermissionSet}; use serde::{Deserialize, Serialize}; use std::{collections::HashMap, path::PathBuf}; @@ -30,9 +30,10 @@ pub struct GlobalConfig { } mod default { - use crate::EncodingProfile; use std::path::PathBuf; + use crate::jhls::EncodingProfile; + pub fn admin_username() -> String { "admin".into() } -- cgit v1.2.3-70-g09d2