Skip to content

Commit 996b648

Browse files
committed
fix ci 2
1 parent 0c7954b commit 996b648

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/spa-server-ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- 'master'
7+
workflow_dispatch:
78

89
jobs:
910
check_server:
@@ -37,6 +38,6 @@ jobs:
3738
run: cargo test -p tests --test starter -j 1 -- --test-threads 1
3839
- name: run pebble
3940
run: ./run_pebble.sh
40-
working-directory: ./tests/data/pebble
41+
working-directory: ./tests/bash/
4142
- name: run acme integration test
4243
run: cargo test -p tests --test acme_test -j 1 -- --test-threads 1

server/src/config.rs

+3
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ impl Config {
6060
warn!("acme needs http port:80 to signed https certificate");
6161
}
6262
}
63+
if config.domains.iter().any(|x| !get_host_path_from_domain(&x.domain).1.is_empty()) {
64+
bail!("domains.domain do not support sub path like 'www.example.com/abc' now")
65+
}
6366
Ok(config)
6467
}
6568
}

0 commit comments

Comments
 (0)