jslicense

This commit is contained in:
boyska 2020-03-22 00:31:56 +01:00
parent 145f30485f
commit 17e5f44a0a
5 changed files with 20 additions and 0 deletions

4
app.py
View file

@ -114,3 +114,7 @@ def dl(fname):
r = make_response(content)
r.headers['Content-Type'] = 'audio/ogg' # TODO: better detect
return r
@app.route('/info/license')
def license():
return render_template('license.html')

View file

@ -1,4 +1,8 @@
// detto - cesco@ventuordici.org - 2020
/**
*
* @license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt CC0
*/
/* THE CHINOTTO-WARE LICENSE" (Revision 42):
* cesco@ventuordici.org wrote this code.

View file

@ -1,6 +1,12 @@
/* jshint browser: true */
/* global $ */
/**
*
* @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3
*/
function putPreview (arrayBuf) {
var arrayBufView = new Uint8Array(arrayBuf)
var blob = new Blob([arrayBufView.buffer], { type: "audio/ogg" })

View file

@ -102,3 +102,5 @@ li {
}
#recordingsList a{ margin: 0.5em; }
footer { font-size: small; }

View file

@ -53,5 +53,9 @@
<script type="text/javascript" src="{{url_for('static', filename='js/upload.js')}}"></script>
<script type="text/javascript" src="{{url_for('static', filename='js/detto.js')}}"></script>
<footer>
<a href="{{url_for('license')}}" rel="jslicense">Javascript license information</a>
</footer>
</body>
</html>