diff --git a/.gitignore b/.gitignore index 7468ab3..ff04b45 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,6 @@ node_modules .angular todo-api/todos/* todo-api/users/* +!reactjs-todo/public/index.html +!reactjs-todo/public/README.md +!reactjs-todo/public/callback/* \ No newline at end of file diff --git a/reactjs-todo/client/styles/index.scss b/reactjs-todo/client/styles/index.scss index 9ef67ea..6b7fb8a 100644 --- a/reactjs-todo/client/styles/index.scss +++ b/reactjs-todo/client/styles/index.scss @@ -1,33 +1,33 @@ @import 'bootstrap/scss/functions'; @import 'bootstrap/scss/variables'; +@import 'bootstrap/scss/variables-dark'; @import 'bootstrap/scss/mixins'; @import 'custom-variables'; @import 'bootstrap/scss/maps'; -@import "bootstrap/scss/utilities"; -@import "bootstrap/scss/root"; -@import "bootstrap/scss/reboot"; -@import "bootstrap/scss/type"; -@import "bootstrap/scss/images"; -@import "bootstrap/scss/containers"; -@import "bootstrap/scss/grid"; +@import 'bootstrap/scss/utilities'; +@import 'bootstrap/scss/root'; +@import 'bootstrap/scss/reboot'; +@import 'bootstrap/scss/type'; +@import 'bootstrap/scss/images'; +@import 'bootstrap/scss/containers'; +@import 'bootstrap/scss/grid'; +@import 'bootstrap/scss/alert'; +@import 'bootstrap/scss/buttons'; +@import 'bootstrap/scss/card'; +@import 'bootstrap/scss/dropdown'; +@import 'bootstrap/scss/forms'; +@import 'bootstrap/scss/list-group'; +@import 'bootstrap/scss/modal'; +@import 'bootstrap/scss/nav'; +@import 'bootstrap/scss/navbar'; +@import 'bootstrap/scss/popover'; +@import 'bootstrap/scss/spinners'; +@import 'bootstrap/scss/transitions'; -@import "bootstrap/scss/alert"; -@import "bootstrap/scss/buttons"; -@import "bootstrap/scss/card"; -@import "bootstrap/scss/dropdown"; -@import "bootstrap/scss/forms"; -@import "bootstrap/scss/list-group"; -@import "bootstrap/scss/modal"; -@import "bootstrap/scss/nav"; -@import "bootstrap/scss/navbar"; -@import "bootstrap/scss/popover"; -@import "bootstrap/scss/spinners"; -@import "bootstrap/scss/transitions"; +@import 'bootstrap/scss/helpers'; +@import 'bootstrap/scss/utilities/api'; -@import "bootstrap/scss/helpers"; -@import "bootstrap/scss/utilities/api"; - -@import 'custom-styles'; +@import 'custom-styles'; \ No newline at end of file diff --git a/reactjs-todo/public/index.html b/reactjs-todo/public/index.html index 93395d1..133f7f5 100755 --- a/reactjs-todo/public/index.html +++ b/reactjs-todo/public/index.html @@ -7,135 +7,67 @@ This software may be modified and distributed under the terms of the MIT license. See the LICENSE file for details. --> - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + ForgeRock: A Sample React (Web) Todo App + + + + + + + - ForgeRock: A Sample React (Web) Todo App + +
+ - - - - - + + + + + + + + + + - -
+ + + - - - - - - - - - - - - + \ No newline at end of file diff --git a/reactjs-todo/webpack.config.js b/reactjs-todo/webpack.config.js index 9b20ee6..f3da881 100644 --- a/reactjs-todo/webpack.config.js +++ b/reactjs-todo/webpack.config.js @@ -32,6 +32,7 @@ module.exports = () => { output: { path: path.resolve(__dirname, 'public'), filename: '[name].js', + publicPath: '/', }, // Dictates some behavior in Webpack, "development" is a bit quicker mode: DEVELOPMENT === 'true' ? 'development' : 'production', @@ -88,10 +89,12 @@ module.exports = () => { ], }, devServer: { + allowedHosts: ['localhost', 'react.example.com', '.example.com'], + https: true, client: { overlay: false, }, - port: process.env.PORT || 8443, + port: 8443, }, plugins: [ new MiniCssExtractPlugin(),