I have just git clone the codecombat and installed it on my EC2.
But when I visit the website,it automatically redirect to cn.codecombat.com.I don’t know what happened?
So I have some questions?
Have I installed successfully?
Can’t codecombat run on personal online server?
Cause it need payment?
If it needs to pay,I can pay for it.But the cn.codecombat.com is too slow,my students can’t play it normally!!This is the most serious problem.
Just throwing in an idea. You should be able to run everything localhost. Can your students join that server (assuming you’re in a network and ports are no problem)? (Might confuse myself though, never tried that)
after commenting out that line
“setupCountryRedirectMiddleware app, ‘china’, config.chinaDomain”
then i
npm install
npm run dev
but still redirect to cn.codecombat.com