rc #1
No reviewers
Labels
No Label
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: deployer3000/configurator#1
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "rc"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Папка dist не должна лежать в гите
@ -0,0 +17,4 @@async getQuery() : Promise<string> {let connector : ConnectorsService = new ConnectorsService();connector.SetConnData();let token : string =await this.mufapiService.getAccessToken(connector.path, connector.creds, connector.options);Код стайл, пробел после равно
@ -0,0 +34,4 @@//Пробуем получить данные для менюGetMenuData (token : string){this.path = 'http://192.168.244.1/e-cmdb/api/query';как и в примере выше, и тут не стоит забывать использовать переменные окружения (на будущее)
@ -0,0 +69,4 @@//*interface MenuController {// name: string;//let resp : string = 'Zlo';?
.env в .gitignore
@ -0,0 +4,4 @@# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.# See the documentation for all the connection string options: https://pris.ly/d/connection-stringsDATABASE_URL="postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public".env.example
необходимо добавить в
.gitignoreэтот файл и вести аналогичный (.env.example) файл для объявления всех переменных с недействительными значениямиздесь далее будут креды и подобная конфиденциальная информация, хранить в репозитории это открыто - неправильно
Пример:
Pull request closed