Comments (6)
I think we could close this then, because I've committed and merged the second solution a while ago.
However, when I start the vue-client, the console gives the link http://127.0.0.1:5173 , which I often use to open in browser. So the first solution would be a little bit easier for me to work with (I don't know if its the same for you).
Is there a downside to switching to the first solution?
from govariants.
I've tried around a bit, and the following has worked for me:
const LOCAL_ORIGIN = "http://127.0.0.1:5173";
curiously this did not work for me:
const LOCAL_ORIGIN = "http://localhost:5173";
Is the first a sensible solution, or should I try to make it work with the second?
from govariants.
first is a sensible solution, but it does make me wonder... the second solution doesn't work if you change what you enter in the Browser's URL bar?
from govariants.
I'm also seeing potential ipv6 issues: https://stackoverflow.com/a/25657673/5001502
idk, might pan out, but I don't think it's worth the trouble since you already have a solution.
from govariants.
first is a sensible solution, but it does make me wonder... the second solution doesn't work if you change what you enter in the Browser's URL bar?
Yeah good point, if I change the url to http://localhost:5173/
then the second solution works.
from govariants.
Either is works for me since localhost resolves to 127.0.0.1 on my computer, but yeah it sounds like a good idea to pick the one that shows up in the terminal
from govariants.
Related Issues (20)
- Dimensions object
- Adding the following features for go/variants/quantum HOT 6
- Admin users and dashboard
- Migration strategy HOT 4
- Duplicate move on game HOT 1
- Timeout bugs in parallel variant HOT 7
- Display komi and other "invisible" configs HOT 1
- Sequential Fractional Baduk
- Overlapping Layout in game page for variant quantum HOT 3
- Config Not Editable for Variants without a Config Form HOT 1
- Graph expects intersection IDs to equal their index HOT 7
- [optimization] do not re-render board every move HOT 1
- Improve Server endpoint for fetching the game state
- Optimize network calls wrt. game-state handling in the game view
- Quantum go uses Coordinate.toSgfRepr() (in exportState), which throws an error with the grid boards. HOT 1
- Rating System HOT 18
- Quantum on Graph boards is broken
- Quantum Games seem to be broken HOT 2
- Quantum Go Game Engine HOT 3
- Use husky to set up pre-commit hooks
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 govariants.