Commit 3b45b941 authored by Fabian Franz's avatar Fabian Franz

changed file type

parent 08e04bad
......@@ -545,8 +545,8 @@ $( document ).ready(function() {
// create link, click and send to client
$('<a></a>')
.attr('id','downloadFile')
.attr('href','data:text/csv;charset=utf8,' + encodeURIComponent(output_data))
.attr('download','apikey.ini')
.attr('href','data:text/plain;charset=utf8,' + encodeURIComponent(output_data))
.attr('download','apikey.txt')
.appendTo('body');
$('#downloadFile').ready(function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment