Trigaten
Trigaten
WWasp-lang
Created by Trigaten on 10/6/2024 in #đŸ™‹questions
In saas project starter, why store uploadUrl in database
Here is a snippet from the Prisma file of https://wasp-lang.dev/blog/2024/01/30/open-saas-free-open-source-starter-react-nodejs Why does uploadUrl get stored? It expires after an hour, so seems like a waste of storage space.
model File {
id String @id @default(uuid())
createdAt DateTime @default(now())

user User @relation(fields: [userId], references: [id])
userId String

name String
type String
key String
uploadUrl String
}
model File {
id String @id @default(uuid())
createdAt DateTime @default(now())

user User @relation(fields: [userId], references: [id])
userId String

name String
type String
key String
uploadUrl String
}
3 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
I deployed my app and am able to navigate to the webpage: https://my-wasp-app-client-damp-snowflake-7739.fly.dev However, I get this error repeatedly in the console. Have googled extensively. I cant sign in or do any of the app functionalities behind the auth.
35 replies