fix(actix): fiex so service runs on correct port
Some checks failed
Cloud Actions / Dockerhub (push) Failing after 23s

This commit is contained in:
darkicewolf50 2025-05-22 17:44:24 -06:00
parent a6566781cb
commit 6825dba9d0
2 changed files with 2 additions and 7 deletions

View File

@ -24,11 +24,6 @@ jobs:
- name: checkout
uses: actions/checkout@v3
- name: Verify Docker is available
run: |
docker info
docker version
- name: Login to Dockerhub # log into docker hub
uses: docker/login-action@v2
with:

View File

@ -6,7 +6,7 @@ use darkicewolf50_cloud::{get_blog, get_blogs_preview, hello, project, skills_ho
#[actix_web::main]
async fn main() -> std::io::Result<()> {
println!("Running on port 8000");
println!("Running on port 5050");
HttpServer::new(|| {
App::new()
.wrap(
@ -31,7 +31,7 @@ async fn main() -> std::io::Result<()> {
)
.service(web::scope("/home").service(skills_home))
})
.bind(("127.0.0.1", 8000))?
.bind(("0.0.0.0", 5050))?
.run()
.await
}