Compare commits
3 Commits
f7d7f5e75f
...
56ee91e762
Author | SHA1 | Date | |
---|---|---|---|
56ee91e762 | |||
f2efc4e37b | |||
27462b0615 |
@ -5,3 +5,4 @@ DB_PORT=bla
|
||||
DB_USER=bla
|
||||
DB_PASSWORD=bla
|
||||
DB_NAME=bla
|
||||
NODE_ENV=production
|
@ -9,6 +9,7 @@ const PORT = process.env.APP_PORT || 4010;
|
||||
|
||||
const app = createExpressServer({
|
||||
controllers: [__dirname + "/controllers/*.ts"],
|
||||
development: process.env.NODE_ENV === "production",
|
||||
});
|
||||
|
||||
async function main() {
|
||||
|
@ -22,5 +22,5 @@ export class Track {
|
||||
@Column()
|
||||
@IsInt()
|
||||
@IsPositive()
|
||||
length: string;
|
||||
length: number;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user