mirror of
https://git.launchpad.net/~vhaudiquet/+git/flutter-artifacts-proxy
synced 2026-03-04 11:25:54 +00:00
Multiple changes:
- Stop ignoring static index file - Automatically pull flutter artifacts from Launchpad - Allow nginx to list files in directories
This commit is contained in:
53
src/static/index.html
Normal file
53
src/static/index.html
Normal file
@@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Flutter Artifacts Proxy</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
||||
max-width: 800px;
|
||||
margin: 50px auto;
|
||||
padding: 20px;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
}
|
||||
h1 {
|
||||
color: #02569B;
|
||||
}
|
||||
.info-box {
|
||||
background-color: #f0f7ff;
|
||||
border-left: 4px solid #02569B;
|
||||
padding: 15px;
|
||||
margin: 20px 0;
|
||||
}
|
||||
code {
|
||||
background-color: #f4f4f4;
|
||||
padding: 2px 6px;
|
||||
border-radius: 3px;
|
||||
font-family: 'Courier New', monospace;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Flutter Artifacts Proxy</h1>
|
||||
|
||||
<div class="info-box">
|
||||
<p><strong>Welcome!</strong> This is a Flutter artifacts hosting proxy.</p>
|
||||
<p>It serves local Flutter artifacts first, and falls back to Google's storage servers for files not found locally.</p>
|
||||
</div>
|
||||
|
||||
<h2>How it works</h2>
|
||||
<ul>
|
||||
<li>Local files are served directly, missing files are proxied to <code>https://storage.googleapis.com</code></li>
|
||||
<li>This is particularly useful for riscv64 Flutter builds that Google doesn't host yet</li>
|
||||
<li>Flutter can be built for riscv64 using the following patch: <a href="https://github.com/flutter/flutter/pull/178712">PR #178712</a> (as well as a Swiftshader patch)</li>
|
||||
<li>The upstream/master Flutter tool supports riscv64, but older versions will need: <a href="https://github.com/flutter/flutter/pull/178711">PR #178711</a></li>
|
||||
</ul>
|
||||
|
||||
<h2>Hosted artifacts:</h2>
|
||||
<h3>Flutter 3.38.9 - <a href="flutter_infra_release/flutter/587c18f873b8ab57330422bce09047420d9c7f42/">587c18f873b8ab57330422bce09047420d9c7f42</a></h3>
|
||||
<p style="margin-left: 20px;"><a href="https://code.launchpad.net/~vhaudiquet/+git/flutter/+build/207763">Launchpad build</a></p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user