Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
accounting
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
accounting
Commits
cc6623eb
Commit
cc6623eb
authored
Sep 24, 2020
by
Ahmad Nemati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
ca9f1ad3
Pipeline
#110
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.env
.env
+1
-1
db.js
db.js
+2
-2
No files found.
.env
View file @
cc6623eb
...
...
@@ -2,7 +2,7 @@ LOCAL_TOKEN=1145440710:AAE3T-a6inE2ljWszABW3VuLgQeluUiaqTw
SERVER_TOKEN=1145440710:AAE3T-a6inE2ljWszABW3VuLgQeluUiaqTw
HOST_Local=localhost
HOST_Server=172.17.0.1
DB_PASS_SERVER=
mahan7797
DB_PASS_SERVER=
ramtin1383
CHANNEL_LOCAL=-1001376048500
CHANNEL_SERVER=-1001484268097
HETZNER_TOKEN=gCIC0wViuBRyN6RLgNebsdFbM7bqlJi0Dg8Rppy1IyTWpZsAnSNGlDIOt0pmyA3l
...
...
db.js
View file @
cc6623eb
...
...
@@ -7,13 +7,13 @@ const dbAddress = process.env.DEBUG === 'true' ? process.env.HOST_Local : proces
const
dbPassword
=
process
.
env
.
DEBUG
===
'
true
'
?
'
root
'
:
process
.
env
.
DB_PASS_SERVER
;
const
sequelize
=
new
Sequelize
(
'
accounting
'
,
'
root
'
,
'
mahan7797
'
,
{
const
sequelize
=
new
Sequelize
(
'
accounting
'
,
'
root
'
,
'
ramtin1383
'
,
{
define
:
{
charset
:
'
utf8
'
,
charset
:
'
utf8
'
,
collate
:
'
utf8_general_ci
'
},
host
:
'
1
95.201.22.25
5
'
,
host
:
'
1
35.181.88.16
5
'
,
dialect
:
'
mysql
'
,
logging
:
false
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment