|
@@ -1,9 +1,12 @@
|
|
|
-# If serving with the backend (Recommended)
|
|
|
+# If you're serving both the frontend and backend (Recommended)
|
|
|
+# Set the public API base URL for seamless communication
|
|
|
PUBLIC_API_BASE_URL='/ollama/api'
|
|
|
|
|
|
-# Comment above and Uncomment below if you're serving only the frontend (Not supported)
|
|
|
-# must be defined, but defaults to 'http://{location.hostname}:11434/api'
|
|
|
-# can also use path, such as '/api'
|
|
|
-# PUBLIC_API_BASE_URL=''
|
|
|
+# If you're serving only the frontend (Not recommended and not fully supported)
|
|
|
+# Comment above and Uncomment below
|
|
|
+# You can use the default value or specify a custom path, e.g., '/api'
|
|
|
+# PUBLIC_API_BASE_URL='http://{location.hostname}:11434/api'
|
|
|
|
|
|
+# Ollama URL for the backend to connect
|
|
|
+# The path '/ollama/api' will be redirected to the specified backend URL
|
|
|
OLLAMA_API_BASE_URL='http://localhost:11434/api'
|