replace rawgit with raw.githubusercontent

This commit is contained in:
Jack 2016-04-13 02:52:41 -04:00
parent cdd44af043
commit 2000a1b334

View file

@ -78,11 +78,11 @@ def start():
if args.branch == "HEAD": if args.branch == "HEAD":
GIT_CMD_STRING = "git ls-remote https://github.com/lbryio/lbry-web-ui.git | grep %s | cut -f 1" % args.branch GIT_CMD_STRING = "git ls-remote https://github.com/lbryio/lbry-web-ui.git | grep %s | cut -f 1" % args.branch
DIST_URL = "http://rawgit.com/lbryio/lbry-web-ui/master/dist.zip" DIST_URL = "https://raw.githubusercontent.com/lbryio/lbry-web-ui/master/dist.zip"
else: else:
log.info("Using UI branch: " + args.branch) log.info("Using UI branch: " + args.branch)
GIT_CMD_STRING = "git ls-remote https://github.com/lbryio/lbry-web-ui.git | grep refs/heads/%s | cut -f 1" % args.branch GIT_CMD_STRING = "git ls-remote https://github.com/lbryio/lbry-web-ui.git | grep refs/heads/%s | cut -f 1" % args.branch
DIST_URL = "http://rawgit.com/lbryio/lbry-web-ui/%s/dist.zip" % args.branch DIST_URL = "https://raw.githubusercontent.com/lbryio/lbry-web-ui/%s/dist.zip" % args.branch
def getui(ui_dir=None): def getui(ui_dir=None):
if ui_dir: if ui_dir: