Closed YCF closed 1 year ago
at /backend
go run main.go serve
when i visited /api/hello return :
/api/hello
Hello world!
after npm run build,at /frontend
npm run build
npm run dev:backend npm run dev
{"code":404,"message":"Not Found.","data":{}}
Make sure frontend/.env file contains the correct setting for PUBLIC_BACKEND (e.g. http://127.0.0.1:8090)
frontend/.env
PUBLIC_BACKEND
at /backend
when i visited
/api/hello
return :after
npm run build
,at /frontendwhen i visited
/api/hello
return :