Skip to content

Bug #5

@jeroen

Description

@jeroen

Someone on SO says:

Finally I made it work but I had to comment this line in opencpu-0.4.js, in r_fun_ajax function: //in case of cors we translate the relative path if(r_cors){ //loc = r_path.protocol + "//" + r_path.host + loc; } Loc variable already contained full path, host and location, and in this line path was added again, returning a wrong location. Commenting that line I got the right location and my example started to work fine.

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