These are chat archives for opal/opal

8th
Oct 2016
Bernhard Weichel
@bwl21
Oct 08 2016 10:57 UTC

@elia ran in an issue with Opal server again ...

    HTTP.get("public/locale/conf-help_#{language}.json").then do |response|
      $conf_helptext = Native(response.body)
    end.fail do |response|
      alert "could not loaad confhelp #{response}"
    end.always do |response|

works with Opal::Server but not with another webserer. It seems that with Opal server Http.get yields the parsed json, but with others it does'nt.
Are there some settings to prevent this?