mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-07 08:48:51 -06:00
web: backend: Add CORS endpoints
This commit is contained in:
@@ -11,6 +11,7 @@ function jobs_test_usage()
|
||||
received_job_id = []
|
||||
function work_fn(job_id)
|
||||
push!(received_job_id, job_id)
|
||||
return
|
||||
end
|
||||
|
||||
# Create processor with work function
|
||||
|
||||
@@ -54,7 +54,7 @@ function server_test_usage()
|
||||
@test view_data["solution"] !== nothing
|
||||
|
||||
# Clean up
|
||||
rm(job_dir, recursive=true)
|
||||
rm(job_dir, recursive = true)
|
||||
finally
|
||||
stop(server)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user