jose-donato / ollama-reply

open-source browser extension that leverages the power of the AI to generate engaging replies for social media growth.
MIT License
209 stars 31 forks source link

For the CORS setup #1

Open keskinonur opened 2 months ago

keskinonur commented 2 months ago

Hi there, You may use this line for macOS, and continue to have your server run in the background.

launchctl setenv OLLAMA_ORIGINS "chrome-extension://*"

For Linux, edit ollama service

[Service]
Environment="OLLAMA_ORIGINS='chrome-extension://*'"

references:

jose-donato commented 2 months ago

Hi there, You may use this line for macOS, and continue to have your server run in the background.

launchctl setenv OLLAMA_ORIGINS "chrome-extension://*"

For Linux, edit ollama service

[Service]
Environment="OLLAMA_ORIGINS='chrome-extension://*'"

references:

ohhh cool! thanks! didn't know about that

going to update the readme