Skip to content

Commit 659477b

Browse files
authored
Merge pull request #35 from ebadfd/feature/main/well-known
fix: issues with the well-known not in the docker
2 parents ad8e99c + f1218ab commit 659477b

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COPY --from=planner /app/lib lib
1212
COPY --from=planner /app/Config.toml Config.toml
1313
COPY --from=planner /app/blog blog
1414
COPY --from=planner /app/static static
15-
COPY --from=planner /app/.well-known .well-known
15+
COPY --from=planner /app/well-known well-known
1616

1717
RUN cargo chef cook --release
1818
COPY . .

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pub async fn run_server() -> Result<()> {
7272
.compress_when(DefaultPredicate::new());
7373

7474
let files = ServeDir::new("static");
75-
let well_known_files = ServeDir::new(".well-known");
75+
let well_known_files = ServeDir::new("well-known");
7676

7777
let middleware = tower::ServiceBuilder::new()
7878
.layer(Extension(state.clone()))
File renamed without changes.

0 commit comments

Comments
 (0)