Add GET_FILE function to construct file URLs from backend server
This commit is contained in:
1 parent
fd389c95e9
commit
9febe40c60
1 file changed
+2
@@ -1 +1,3 @@
|
||||
export const BACKEND_SERVE = `${import.meta.env.VITE_PUBLIC_BACKEND}/static/`
|
||||
|
||||
export const GET_FILE = (file: string) => `${BACKEND_SERVE}${file}`
|
||||
Reference in new issue
Block a user