Skip to content

Remove reverse proxy in frontend parser #5

@ZenithalHourlyRate

Description

@ZenithalHourlyRate

Currently some sites do not have CORS for MirrorZ, so a workaround was provided by third parties using reverse proxy.

$ grep r.nichi.co * | cut -d':' -f1
cqu.js
hust.js
lzu.js
neusoft.js
nju-old.js
xjtu.js

Note: nju-old and xjtu is not deployed. The former has allowed CORS for mirrorz, see nju.js for more info; the latter one is not accessible from reverse proxy, so a static json is used instead, see /static/tmp/xjtu.json for more info.

However, for some reason this reverse proxy no longer provides service. We think this kind of workaround should only be temporary hence an issue should be set up here.

Currently parsers of cqu and neusoft uses json provided by corresponding mirror site while lzu and hust parses the html. CORS of them should be set on the mirrors. This relates to cqumirror/feedback#27 and LZUOSS/Mirror#13; neusoft and hust do not have an issue tracker on GitHub.

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