use auth bypass

This commit is contained in:
Quaternions 2024-12-19 17:51:16 -08:00
parent 3252927df7
commit e9e51d455b

View File

@ -241,7 +241,7 @@ async fn upload_scripts(session_id:PathBuf)->Result<()>{
std::fs::File::open(session_id)?.read_to_string(&mut cookie)?;
submissions_api::Cookie::new(&cookie)?
};
let api=&submissions_api::external::Context::new("http://localhost:8082".to_owned(),cookie)?;
let api=&submissions_api::external::Context::new("http://localhost:8083".to_owned(),cookie)?;
let allowed_set=get_allowed_set()?;
let allowed_map=get_allowed_map()?;