This commit is contained in:
parent
8c45ff5ac4
commit
e435628690
@ -6,6 +6,7 @@ __version__ = "1.0.0"
|
||||
|
||||
from app import create_app
|
||||
|
||||
|
||||
# Create an application instance that web servers can use.
|
||||
application = create_app('config/flask.cfg')
|
||||
application.run()
|
||||
|
@ -4,7 +4,7 @@ FROM node:latest as build
|
||||
WORKDIR /usr/local/app
|
||||
|
||||
# Copy the project files to the container
|
||||
COPY frontend /usr/local/app/
|
||||
COPY . /usr/local/app/
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
|
18509
frontend/package-lock.json
generated
18509
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -4,8 +4,8 @@
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "ng serve",
|
||||
"build": "ng build --prod --build-optimizer",
|
||||
"watch": "ng build --watch --configuration development",
|
||||
"build": "ng build --configuration production --build-optimizer",
|
||||
"watch": "ng build --configuration development --watch",
|
||||
"test": "ng test",
|
||||
"lint": "ng lint",
|
||||
"compodoc": "npx compodoc -p tsconfig.doc.json"
|
||||
|
@ -106,8 +106,13 @@ export class BotSettingsComponent implements OnInit {
|
||||
}
|
||||
|
||||
setCronString() {
|
||||
let val = this.cronForm.value
|
||||
if(val === null) {
|
||||
val = "";
|
||||
}
|
||||
|
||||
this.profileService
|
||||
.addCronString(this.cronForm.value)
|
||||
.addCronString(val)
|
||||
.subscribe((result) => {
|
||||
console.log(result);
|
||||
});
|
||||
|
@ -27,6 +27,7 @@ import news.news_fetcher as news
|
||||
import shares.share_fetcher as share_fetcher
|
||||
from api_handling.api_handler import API_Handler
|
||||
|
||||
|
||||
load_dotenv(dotenv_path='.env') # load environment variables
|
||||
|
||||
bot_version = "3.0.1" # version of bot
|
||||
|
Loading…
Reference in New Issue
Block a user