You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vite trying to connect with Nuxt on port 24678 for hot reloading code changes – spamming webconsole log and don't work. Need expose in docker-compose.override.yml
ports:
"24678:24678"
Content loading in Nuxt don't work because of Nuxt do request on /api/_content but it routed by traefik on backend instead of frontend.
I change PathPrefix(/api) to PathPrefix(/api/v) in docker-compose.override.yml of backend setting. Now /api/ will route to frontend.
When trying register with only an email by magic link, it failed:
File "/app/app/crud/crud_user.py", line 19, in create
hashed_password=get_password_hash(obj_in.password),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
because password don't exist. Some fix:
hashed_password=get_password_hash(obj_in.password) if obj_in.password is not None else None,
Hope this help fix some bugs.
The text was updated successfully, but these errors were encountered:
Fixing [#39](#39):
- Exposing port 24678 for Vite on frontend in development mode.
- Ensuring Nuxt content on `/api/_content` doesn't interfere with backend `/api/v` routes.
- Checking for password before hashing on user creation.
Fixing [#39](whythawk/full-stack-fastapi-postgresql#39):
- Exposing port 24678 for Vite on frontend in development mode.
- Ensuring Nuxt content on `/api/_content` doesn't interfere with backend `/api/v` routes.
- Checking for password before hashing on user creation.
Vite trying to connect with Nuxt on port 24678 for hot reloading code changes – spamming webconsole log and don't work. Need expose in docker-compose.override.yml
ports:
Content loading in Nuxt don't work because of Nuxt do request on /api/_content but it routed by traefik on backend instead of frontend.
I change PathPrefix(
/api
) to PathPrefix(/api/v
) in docker-compose.override.yml of backend setting. Now /api/ will route to frontend.When trying register with only an email by magic link, it failed:
File "/app/app/crud/crud_user.py", line 19, in create
hashed_password=get_password_hash(obj_in.password),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
because password don't exist. Some fix:
hashed_password=get_password_hash(obj_in.password) if obj_in.password is not None else None,
Hope this help fix some bugs.
The text was updated successfully, but these errors were encountered: