Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue #3

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

vue #3

wants to merge 12 commits into from

Conversation

chereseeriepa
Copy link

  • changes the router to point at an index.html file in the assets folder
  • adds vue frontend dist files to load the vue frontend

cmd/server/main.go Outdated Show resolved Hide resolved
web/handlers/http.go Outdated Show resolved Hide resolved
web/handlers/http.go Outdated Show resolved Hide resolved
web/handlers/http.go Outdated Show resolved Hide resolved
web/router/complete.go Outdated Show resolved Hide resolved
boreq and others added 4 commits November 16, 2022 13:05
Add a possibility to use a magic token instead of real invites. To set the token use the `bypass-invites-token` flag. All invites which use this token will succeed.
We are mounting the assets filesystem under / so index.html will be
automatically served when opening the home page.
@boreq
Copy link

boreq commented Nov 18, 2022

.DS_Store got commited by accident. Maybe let's add it to .gitignore?

chereseeriepa and others added 6 commits December 1, 2022 14:32
This commit changes the way the assets are loaded. First we try to load
assets from web/app and if that fails we load them from web/assets. This
means that files can be in either one of those directories with web/app
taking priority.
This commit fixes the dev server so that it also tries to load assets
from web/app first and if that fails loads them from web/assets. This
means that files can be in either one of those directories with web/app
taking priority.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change where rooms frontend assets are served Fix page reload / routing
2 participants