longor1996 / orlytalk Goto Github PK
View Code? Open in Web Editor NEWAn online communication system written in Rust and TypeScript.
License: MIT License
An online communication system written in Rust and TypeScript.
License: MIT License
Hi Lars,
first, this is a great App ๐
Although I have a problem. I have deployed this App on my server orlytalk.sharknoon.de and can't log in because the connection with the websocket fails.
I am on Port 443 (HTTPS) and because this is the default port, location.port
returns "" (empty String).
And here is the problem, in your index.ts
you are checking if the Port is 6991
, but in this case it isnt:
orlytalk/orly-server/src/www/ts/index.ts
Line 61 in c4f7109
I suggest changing this line to
const HOST = location.host + ":" + location.port;
or some other mecanics to avoid the localhost host to be selected for standard HTTP and HTTPS ports.
Thanks in advance
Your fan
Josua frank
The Docker Description for the README is missing.
Maybe add something along the lines of:
To build and run O'Rly Talk, run the following commands:
docker build . -t orlytalk
docker run -p 6991:6991 orlytalk
And visit localhost:6991
When specifying an environment variable like ./data/sqlite.db
a folder named data
needs to be created.
The problem is, that docker volume mounts can only mount directories, not individual files. Therefore a custom directory would be needed.
While you could use a directory from the underlying linux distribution, this would introduce new dependencies to the os.
This is the current implementation:
orlytalk/orly-server/src/main.rs
Lines 31 to 39 in f4ce721
I would suggest creating all parent directories of the sqlite.db file is they doesnt already exist.
when specifying an absolute path like /etc/orlytalk/sqlite.db
this path gets appended to the working directory. If the path starts at root, the exapth path should be used.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.