Added backend and refactored frond-end to support it.
* Removed unecesery home page * Added PHP Api that provides auth and replaces the json-server for data storage * Added support for alternate geocode-api * Added registration page
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
// import eslint from "vite-plugin-eslint"
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
define: {
|
||||
//Prod//
|
||||
'import.meta.env.VITE_API_URL': JSON.stringify('/api'),
|
||||
//Dev//
|
||||
// 'import.meta.env.VITE_API_URL': JSON.stringify('http://devsrv.tld/api'),
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user