Coder Social home page Coder Social logo

webapp not working about glewlwyd HOT 5 CLOSED

babelouest avatar babelouest commented on August 24, 2024
webapp not working

from glewlwyd.

Comments (5)

babelouest avatar babelouest commented on August 24, 2024

Hello @yandoogle , thanks for the issue.

I think it's simple-but-dummy bug from me on the glewlwyd.conf file that I fixed earlier. I missed to add the json format in the static files mime types...

To fix this, open your glewlwyd.conf file, add the following block in the static_files_mime_types array (at the end of the glewlwyd.conf file):

  {
    extension = ".json"
    mime_type = "application/json"
  },

If this doesn't fix your problem, let me know, I'll dig deeper.

from glewlwyd.

yandoogle avatar yandoogle commented on August 24, 2024

Thanks for your quick response, @babelouest.

I tried to add these lines to configuration file earlier because the glewlwyd server reported about absent application/json mime_type directly at log.
Unfortunately, this does not solve my problem.

from glewlwyd.

babelouest avatar babelouest commented on August 24, 2024

And that's another round on me!

In the provided webapp/config.json.sample file, the first parameter key is GlewlwydApiUrl, it has been renamed lately to GlewlwydUrl but I forgot to push the changes in the sample file.

So your config.jsonfile should looke like:

{
  "GlewlwydUrl": "http://localhost:4593/",
  "ProfileUrl": "http://localhost:4593/profile.html",
  "AdminUrl": "http://localhost:4593/index.html",
  "LoginUrl": "http://localhost:4593/login.html",
  "pattern": {
[...]

Thanks again @yandoogle !

from glewlwyd.

yandoogle avatar yandoogle commented on August 24, 2024

Yes it is.
@babelouest thanks again and good luck in the development of a great project!

from glewlwyd.

babelouest avatar babelouest commented on August 24, 2024

Thanks!

Don't hesitate to open new issues if you found other problems or if you have other questions.

from glewlwyd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.