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

Can't find /api/bets/ #1

Open
Devba opened this issue Apr 25, 2014 · 4 comments
Open

Can't find /api/bets/ #1

Devba opened this issue Apr 25, 2014 · 4 comments

Comments

@Devba
Copy link

Devba commented Apr 25, 2014

Hi Thanks for your game,I was trying to make it work but I got this:

Failed to load resource: the server responded with a status of 404 (Not Found) http:// My IP/api/bets/

I'd appreciate if you can help me

thanks for your work anyway
Jose

@achiko
Copy link
Owner

achiko commented Apr 25, 2014

Hi

Did you run app via nodejs console ? if yes can you send me console text

Also log files created root directory

I will try to fix error

Thank you

From: Devba [mailto:notifications@github.com]
Sent: Friday, April 25, 2014 10:01 PM
To: achiko/BitcoinGame
Subject: [BitcoinGame] Can't find /api/bets/ (#1)

Hi Thanks for your game,I was trying to make it work but I got this:

Failed to load resource: the server responded with a status of 404 (Not Found) http:// My IP/api/bets/

I'd appreciate if you can help me

thanks for your work anyway
Jose


Reply to this email directly or view it on GitHub #1 . https://github.com/notifications/beacon/3051858__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxNDA2ODA2OCwiZGF0YSI6eyJpZCI6MzA4MjcwMzZ9fQ==--bcb15f04ed9a197bb7f4f55f911c016c6651175d.gif

@Devba
Copy link
Author

Devba commented Apr 26, 2014

Thanks
Problem sorted out when using nodejs,sorry I'm a newbie
But know I get this in Firefox:
"Blocked loading mixed active content "http://www.playza.co/socket.io/1/?t=1398500428676""

Is it harcoded?

Thanks again for your time

@Devba
Copy link
Author

Devba commented Apr 26, 2014

Ok I found it at:

main.html line 520:
var socket = io.connect('http://www.playza.co');

I changed it to my Web path it looks fixed but know looks like it can't get ..
https://thegame/socket.io/1/

since it's not looking to the right place, rather it looks trimmed(It should be something like https://thegame/proj1/Web/socket.io/1/

What do you think?

@freelancedeveloper025
Copy link

main.html line 520:
var socket = io.connect('http://www.playza.co');
to
var socket = io.connect('http://www.XYZ.co'); //XYZ denoted your domain Name

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

No branches or pull requests

3 participants