Skip to content

Commit

Permalink
fix ci 2
Browse files Browse the repository at this point in the history
  • Loading branch information
timzaak committed Jun 24, 2024
1 parent 0c7954b commit 996b648
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/spa-server-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- 'master'
workflow_dispatch:

jobs:
check_server:
Expand Down Expand Up @@ -37,6 +38,6 @@ jobs:
run: cargo test -p tests --test starter -j 1 -- --test-threads 1
- name: run pebble
run: ./run_pebble.sh
working-directory: ./tests/data/pebble
working-directory: ./tests/bash/
- name: run acme integration test
run: cargo test -p tests --test acme_test -j 1 -- --test-threads 1
3 changes: 3 additions & 0 deletions server/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ impl Config {
warn!("acme needs http port:80 to signed https certificate");
}
}
if config.domains.iter().any(|x| !get_host_path_from_domain(&x.domain).1.is_empty()) {
bail!("domains.domain do not support sub path like 'www.example.com/abc' now")
}
Ok(config)
}
}
Expand Down

0 comments on commit 996b648

Please sign in to comment.