Skip to content

GopherJS Playground: Snippets are failing to load/save due to host name change. #20

Closed
@dmitshur

Description

@dmitshur

Snippets are currently not working. It seems that the hostname was previously http://gopherjs.org, but now it redirects to http://www.gopherjs.org (/cc @neelance, @ajhager), which results in the XHR failing:

XMLHttpRequest cannot load http://snippets.gotools.org/p/D9L6MbPfE4. The 'Access-Control-Allow-Origin' header has a value 'http://gopherjs.org' that is not equal to the supplied origin. Origin 'http://www.gopherjs.org' is therefore not allowed access.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions