diff --git a/webservice/app.ts b/webservice/app.ts index b38f514..42d1459 100644 --- a/webservice/app.ts +++ b/webservice/app.ts @@ -30,7 +30,11 @@ app.use(express.json()); app.use(express.urlencoded({extended: false})); app.use(cookieParser()); app.use(cors()); -app.use(express.static(path.join(__dirname, 'public'))); +app.use(express.static(path.join(__dirname, 'public'), { + setHeaders: (res, path, stat) => { + res.setHeader('Supports-Loading-Mode', 'fenced-frame') + } +})); // bot account setup: get siteinfo once and refresh tokens every 10 minutes // XXX: more systematic way for token handling? diff --git a/webservice/public/images/tank-img.png b/webservice/public/images/tank-img.png new file mode 100644 index 0000000..e0ab6d8 Binary files /dev/null and b/webservice/public/images/tank-img.png differ