diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 0000000..103791e --- /dev/null +++ b/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "tb-console" + } +} diff --git a/.gitignore b/.gitignore index 86d943a..55c20cd 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,5 @@ testem.log # System Files .DS_Store Thumbs.db + +**.cache diff --git a/README.md b/README.md index a8729c3..9870331 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # TBConsoleClient -This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.3. +A console client [website](https://tb-console.web.app/) that can be used to enter commands in Techblox. You need to install the [TBConsole](https://git.exmods.org/NorbiPeti/TBConsole) mod for it to work. ## Development server diff --git a/angular.json b/angular.json index f89fc38..125b246 100644 --- a/angular.json +++ b/angular.json @@ -44,7 +44,6 @@ "optimization": true, "outputHashing": "all", "sourceMap": false, - "extractCss": true, "namedChunks": false, "extractLicenses": true, "vendorChunk": false, diff --git a/firebase.json b/firebase.json new file mode 100644 index 0000000..774043d --- /dev/null +++ b/firebase.json @@ -0,0 +1,16 @@ +{ + "hosting": { + "public": "dist/TBConsoleClient", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ] + } +} diff --git a/src/app/app.component.html b/src/app/app.component.html index 6e977a1..837e881 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -8,7 +8,8 @@