Comments (6)
The magic happens in the .htaccess
file for Apache: https://github.com/holtwick/briefing/blob/master/web/.htaccess
But you can also better use the PWA distribution. Start with npm run pwa:serve
and npm run pwa:build
for distribution under ngs
folder: https://github.com/holtwick/briefing/blob/master/package.json#L24
You should adopt the settings for your needs of just use https://brie.fi/ng directly.
from briefing.
Thank you so much for the guide. managed to work around the .htaccess.
But still it seems /app/index.html not seems executing to dist folder. Just giving url not found when rewrite happens with the room name.
i have my apache directory mapped to the web folder.
from briefing.
The folder is /ngs
. See this setting https://github.com/holtwick/briefing/blob/master/vue.config.js#L40
from briefing.
Thanks again and sorry for the trouble. It doesnt even mount to /ngs. simply says not found when re-write occurred. .htaccess is working fine and all 3 rules works properly. when the last rule /ng/roomid attempt to rewrite it cant find the mount point
from briefing.
Sorry for been blind, after much effort found out my error. and now managed to get the PWA up and running directly on my root folder. On PWA whats the format of the join in url as it seems its not appending to the home url like in /ng
join in link from the window still shows as /ng/roomid even while im connecting to the PWA
from briefing.
The new code is online. No more hacking required. All is a PWA now and a simple .htaccess example is also available here https://github.com/holtwick/briefing/blob/master/public/.htaccess#L23
from briefing.
Related Issues (20)
- Development rooms seems to be used by default HOT 1
- HTTP fallback for Websocket
- PWA broken HOT 1
- Waiting for connection HOT 2
- Error When Run HOT 1
- Cannot Run on Android WebView HOT 6
- PWA still broken, no service worker HOT 1
- Skip the "press to play video" HOT 2
- I try install in Vercel, error 404 HOT 1
- Port 24678 HOT 2
- Readable version of index-f59c5263.js HOT 1
- Room names sometimes comes up with the word undefined HOT 2
- Error when trying to share the screen HOT 2
- Docker Image File Source Error HOT 4
- Mention purpose of software in the README HOT 1
- iOS App region locked HOT 1
- Node process exits with code: 1
- red message bar: "An error occured..." HOT 1
- Some feedback
- In beta.brie.fi/ng, clicking on a participant's stream to make it fill the window does not work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from briefing.