We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c157cea commit 7da9d38Copy full SHA for 7da9d38
Dockerfile
@@ -17,4 +17,4 @@ RUN cd server && cargo build --release
17
18
# Expose and run
19
EXPOSE 80
20
-CMD cargo run --release
+CMD cd server && cargo run --release
client/src/http.ts
@@ -1,5 +1,5 @@
1
import axios from 'axios';
2
3
export default axios.create({
4
- baseURL: window.location.host + '/api'
+ baseURL: `//${window.location.host}/api`
5
});
0 commit comments