Ollama / ollama.js
PyxiLabs's picture
Create ollama.js
c857a91 verified
raw
history blame
274 Bytes
import {setup, startTunnel} from 'cloudflared-tunnel'
await setup() // setup the project | you need to do this only once
await startTunnel({
host: 'http://localhost', // required
port: 3000, // required
}) // pass in the host and port of the server you want to tunnel