mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-04 20:55:55 +02:00
fix CORS for local devbuild install
This commit is contained in:
parent
a12b5220c4
commit
aa7a844ff8
3 changed files with 37 additions and 3 deletions
1
.github/workflows/compile_development.yml
vendored
1
.github/workflows/compile_development.yml
vendored
|
@ -74,7 +74,6 @@ jobs:
|
||||||
tools/esp8266/firmware/*
|
tools/esp8266/firmware/*
|
||||||
tools/esp8266/User_Manual.md
|
tools/esp8266/User_Manual.md
|
||||||
tools/esp8266/install.html
|
tools/esp8266/install.html
|
||||||
tools/esp8266/json/manifest.json
|
|
||||||
|
|
||||||
#./${{ steps.rename-binary-files.outputs.name }}.zip
|
#./${{ steps.rename-binary-files.outputs.name }}.zip
|
||||||
|
|
||||||
|
|
|
@ -47,8 +47,7 @@ def buildManifest(path, infile, outfile):
|
||||||
|
|
||||||
jsonString = json.dumps(data, indent=2)
|
jsonString = json.dumps(data, indent=2)
|
||||||
|
|
||||||
os.mkdir(path + "json/")
|
fp = open(path + "firmware/" + outfile, "w")
|
||||||
fp = open(path + "json/" + outfile, "w")
|
|
||||||
fp.write(jsonString)
|
fp.write(jsonString)
|
||||||
fp.close()
|
fp.close()
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,42 @@
|
||||||
Die Release Builds werden auf <a href="https://ahoydtu.de" target="_blank">ahoyDtu.de</a> veröffentlicht.
|
Die Release Builds werden auf <a href="https://ahoydtu.de" target="_blank">ahoyDtu.de</a> veröffentlicht.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="container col-xxl-8 px-4 py-5">
|
||||||
|
<h3>Vorbereitungen Google Chrome</h3>
|
||||||
|
<p class="lead">
|
||||||
|
Bekommt man nach der Auswahl des COM-Ports einen Fehler <i>Failed to download manifest</i> muss man Chrome mit einem Parameter starten:
|
||||||
|
</p>
|
||||||
|
<p class="lead">
|
||||||
|
<div class="row lead mb-2">
|
||||||
|
<div class="col col-md-2 col-sm-12">
|
||||||
|
Windows
|
||||||
|
</div>
|
||||||
|
<div class="col mx-sm-4">
|
||||||
|
<code>start chrome --allow-file-access-from-files</code>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row lead mb-2">
|
||||||
|
<div class="col col-md-2 col-sm-12">
|
||||||
|
Linux
|
||||||
|
</div>
|
||||||
|
<div class="col mx-sm-4">
|
||||||
|
<code>google-chrome --allow-file-access-from-files</code>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row lead">
|
||||||
|
<div class="col col-md-2 col-sm-12">
|
||||||
|
OS X
|
||||||
|
</div>
|
||||||
|
<div class="col mx-sm-4">
|
||||||
|
<code>open -a 'Google Chrome' --args -allow-file-access-from-files</code>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</p>
|
||||||
|
<div class="alert alert-warning" role="alert">
|
||||||
|
<strong>Wichtig: </strong>es darf keine weitere Instanz von Chrome offen sein, sonst funktionert der Parameter nicht.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
<footer class="footer mt-auto text-center text-lg-start text-white" style="background-color: #45526e">
|
<footer class="footer mt-auto text-center text-lg-start text-white" style="background-color: #45526e">
|
||||||
<div class="text-center p-3" style="background-color: rgba(0, 0, 0, 0.2);">
|
<div class="text-center p-3" style="background-color: rgba(0, 0, 0, 0.2);">
|
||||||
|
|
Loading…
Add table
Reference in a new issue