From 264ea9ff007840996d8d5bc1ce0c0dade4fc4d95 Mon Sep 17 00:00:00 2001 From: Casper Lamboo Date: Mon, 16 Apr 2018 16:26:44 +0200 Subject: [PATCH] make filename configurable through query --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 922f2d2..5c53528 100644 --- a/index.js +++ b/index.js @@ -32,11 +32,11 @@ jss.createStyleSheet({ } }).attach(); -let { file, selectedPrinter, actions } = queryString.parse(location.search); +let { file, selectedPrinter, actions, name } = queryString.parse(location.search); if (actions) actions = JSON.parse(actions); render(( - + ), document.getElementById('app'));