jhipster / jdl-studio

JDL Studio is an online JHipster Domain Language visual editor
https://start.jhipster.tech/jdl-studio/
Apache License 2.0
405 stars 114 forks source link

https://start.jhipster.tech/jdl-studio doesn't load properly #47

Closed gdoenlen closed 6 years ago

gdoenlen commented 6 years ago

Hi, I'm not sure if this is the correct place for this type of issue (i couldn't make an issue on the actual site repo) but going directly to the above url causes jdl-studio not to load. It only loads properly when clicking the link from https://www.jhipster.tech/jdl-studio/

This occurs both in the latest version of chromium and firefox on Windows 10.

Errors from chromium:

Refused to apply style from 'https://start.jhipster.tech/dist/css/main-a21cc2c07a.css' because its MIME type ('application/json') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

logo-jhipster.png Failed to load resource: the server responded with a status of 404 (Not Found)

main-867bacaa96.js Failed to load resource: the server responded with a status of 404 (Not Found)

jdl-studio:1 Refused to execute script from 'https://start.jhipster.tech/dist/js/main-867bacaa96.js' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.

jdl-studio:1 Refused to apply style from 'https://start.jhipster.tech/dist/css/main-a21cc2c07a.css' because its MIME type ('application/json') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

Errors from Firefox:

Loading failed for the <script> with source “https://start.jhipster.tech/dist/js/main-867bacaa96.js”.
jdubois commented 6 years ago

Oh yes you are correct, it is because the correct link is https://start.jhipster.tech/jdl-studio/ (notice the trailing slash!!!!) Where do you get the URL without the slash? I should of course try to make it work without the slash, but it's quicker to fix the link

gdoenlen commented 6 years ago

It was from manually typing it in. I'll just remember to type the slash in the future. But it isn't a pretty sight if you do happen upon it without the slash! Thanks for the quick response.

jdubois commented 6 years ago

Oh OK, I understand this isn't good... I don't have the time to fix this, and there will probably a big refactoring of the whole application "soon", when we will upgrade to JHipster 5 and open source it, so I'm closing it.