Skip to content

Commit

Permalink
add android stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Jun 27, 2016
1 parent 8058213 commit 329522b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Binary file added public/xtra2.bin
Binary file not shown.
10 changes: 9 additions & 1 deletion server/hft-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ var HFTServer = function(options, startedCallback) {
var self = this;
var g = {
port: config.getSettings().settings.port,
extraPorts: [80, 8080],
extraPorts: [80, 8080, 443],
screenshotCount: 0,
baseDir: 'public',
cwd: process.cwd(),
Expand Down Expand Up @@ -546,6 +546,14 @@ var HFTServer = function(options, startedCallback) {
};
}();

app.get(/^\/generate_204$/, function(req, res) {
res.removeHeader("X-Powered-By");
res.removeHeader("Connection");
res.writeHead(204, {
'Content-Length': 0,
});
res.end('');
});
app.get(/^\/hft\/0.x.x\/scripts\/runtime\/live-settings\.js$/, function(req, res) {
var data = {
system: {
Expand Down

0 comments on commit 329522b

Please sign in to comment.