Ollama / ollama.js
PyxiLabs's picture
Update ollama.js
8e4ac7e verified
raw
history blame
246 Bytes
import { setup, startTunnel } from 'cloudflared-tunnel';
async function main() {
await setup();
await startTunnel({
host: 'http://localhost',
port: 11434 // Direct tunnel to Ollama's native port
});
}
main().catch(console.error);