Build delivery over HTTPS and flatten source/web.

Keep/restore https://%@ in type0x01/core and rewrite daily module URLs to https, and move campaign assets from source/web/<hash>/ up to source/web/ so templates match the channel artifact layout.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
hashbro
2026-08-09 16:07:55 +08:00
parent 9153a4f557
commit 8b079d37e4
87 changed files with 108 additions and 86 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ class UpdateDailyHashesTest(unittest.TestCase):
},
"springboard_entries": [
{
"url": "http://[HOST_PLACEHOLDER]/sync/spring.js",
"url": "https://[HOST_PLACEHOLDER]/sync/spring.js",
"sha256": "old",
"size": 2,
}
@@ -49,7 +49,7 @@ class UpdateDailyHashesTest(unittest.TestCase):
)
)
prefix = f"http://[HOST_PLACEHOLDER]/channel/{channel}/sync/"
prefix = f"https://[HOST_PLACEHOLDER]/channel/{channel}/sync/"
self.assertEqual(result["core"]["url"], prefix + "erupt_flee.js")
self.assertEqual(result["core"]["sha256"], "core-hash")
self.assertEqual(result["springboard_entries"][0]["url"], prefix + "spring.js")