PyxiLabs commited on
Commit
c857a91
·
verified ·
1 Parent(s): 2b82af8

Create ollama.js

Browse files
Files changed (1) hide show
  1. ollama.js +8 -0
ollama.js ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import {setup, startTunnel} from 'cloudflared-tunnel'
2
+
3
+ await setup() // setup the project | you need to do this only once
4
+
5
+ await startTunnel({
6
+ host: 'http://localhost', // required
7
+ port: 3000, // required
8
+ }) // pass in the host and port of the server you want to tunnel