David
WWasp-lang
•Created by David on 7/30/2024 in #đŸ™‹questions
Deployed /auth/me blocked by CORS policy
I've just deployed my app using wasp cli to fly.io but I get this error when opening my site from Google Chrome (works fine on Safari):
I set environment variables and the email sender works just fine. Did I miss something?
Or should I try adding global middleware? If so, could someone explain the origins here? Do I put in my fly io links/actual domain/domain with www?
42 replies
WWasp-lang
•Created by David on 4/29/2024 in #đŸ™‹questions
File upload size limit
I'm trying to implement max file upload size to the s3 bucket. I've handled the front-end but I worry that more advanced users could bypass this and spam my s3 bucket.
Here is what I've been trying on the backend (just added the conditions) but it still uploads files greater than MAX_UPLOAD_SIZE (1 * 1024 * 1024):
28 replies