From aecc3e9308f084981094c40094adc911fb0db5b3 Mon Sep 17 00:00:00 2001 From: Lukas Brabec Date: Jan 14 2019 15:58:12 +0000 Subject: configurable build config --- diff --git a/public/env.js b/public/env.js new file mode 100644 index 0000000..2606283 --- /dev/null +++ b/public/env.js @@ -0,0 +1,3 @@ +window.env = { + SUBDIR: '/landing_page' +}; \ No newline at end of file diff --git a/public/index.html b/public/index.html index aec08dd..88e77e7 100644 --- a/public/index.html +++ b/public/index.html @@ -19,6 +19,7 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> + Fedora QA Landingpage diff --git a/src/App.js b/src/App.js index 4651e99..f524207 100644 --- a/src/App.js +++ b/src/App.js @@ -12,7 +12,7 @@ import './App.css'; class App extends Component { render() { return ( - +