Use local json files in the backend #2402
Unanswered
FrenchGithubUser
asked this question in
Q&A
Replies: 2 comments 5 replies
-
Go's embed is for this. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I figured out that this is not necessarily the solution I'm looking for. Is there an API to store some files on the machine ? (like a folder in |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using some json files in the backend (files that I do not fetch from an api somewhere else, they are already present in the project). Is there a way to use them ?
I can use them normally in dev mode (by giving the path to the deserializer), but in release mode, they are not available anymore (as the containing folder obviously doesn't exist anymore)
Beta Was this translation helpful? Give feedback.
All reactions