Skip to content

Commit

Permalink
fix bug in chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
CaramelFur committed Aug 29, 2022
1 parent ea5a144 commit ba7f1db
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 14 deletions.
4 changes: 4 additions & 0 deletions .yarn/versions/ccff8772.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
undecided:
- root-workspace-0b6124
- picsur-backend
- picsur-frontend
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "picsur-backend",
"version": "0.3.0",
"version": "0.3.1",
"description": "Backend for Picsur",
"license": "GPL-3.0",
"repository": "https://github.com/rubikscraft/Picsur",
Expand Down
8 changes: 4 additions & 4 deletions backend/src/config/early/type-orm.config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@ export class TypeOrmConfigService implements TypeOrmOptionsFactory {
'localhost',
),
port: ParseInt(
this.configService.get<number>(`${EnvPrefix}DB_PORT`),
this.configService.get(`${EnvPrefix}DB_PORT`),
5432,
),
username: ParseString(
this.configService.get<string>(`${EnvPrefix}DB_USERNAME`),
this.configService.get(`${EnvPrefix}DB_USERNAME`),
DefaultName,
),
password: ParseString(
this.configService.get<string>(`${EnvPrefix}DB_PASSWORD`),
this.configService.get(`${EnvPrefix}DB_PASSWORD`),
DefaultName,
),
database: ParseString(
this.configService.get<string>(`${EnvPrefix}DB_DATABASE`),
this.configService.get(`${EnvPrefix}DB_DATABASE`),
DefaultName,
),
};
Expand Down
2 changes: 1 addition & 1 deletion backend/src/security.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const HelmetOptions: FastifyHelmetOptions = {
'frame-ancestors': ["'self'"],
'img-src': ["'self'", 'data:', 'blob:'],
'object-src': ["'none'"],
'script-src': ["'self'"],
'script-src': ["'self'", "'unsafe-inline'"],
'style-src': ["'self'", "'unsafe-inline'"],
'upgrade-insecure-requests': [],
},
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "picsur-frontend",
"version": "0.3.0",
"version": "0.3.1",
"description": "Frontend for Picsur",
"license": "GPL-3.0",
"repository": "https://github.com/rubikscraft/Picsur",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"version": "0.3.0",
"version": "0.3.1",
"workspaces": [
"shared",
"backend",
Expand All @@ -18,7 +18,7 @@
},
"resolutions": {
"fastify": "^4.5.2",
"terser": "5.14.2",
"terser": "^5.14.2",
"typeorm": "0.3.7",
"fastify-static": "npm:@fastify/static@*",
"fastify-formbody": "npm:@fastify/formbody@*",
Expand Down
2 changes: 1 addition & 1 deletion shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "picsur-shared",
"version": "0.3.0",
"version": "0.3.1",
"description": "Shared libraries for Picsur",
"license": "GPL-3.0",
"repository": "https://github.com/rubikscraft/Picsur",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11226,17 +11226,17 @@ __metadata:
languageName: node
linkType: hard

"terser@npm:5.14.2":
version: 5.14.2
resolution: "terser@npm:5.14.2"
"terser@npm:^5.14.2":
version: 5.15.0
resolution: "terser@npm:5.15.0"
dependencies:
"@jridgewell/source-map": ^0.3.2
acorn: ^8.5.0
commander: ^2.20.0
source-map-support: ~0.5.20
bin:
terser: bin/terser
checksum: cabb50a640d6c2cfb351e4f43dc7bf7436f649755bb83eb78b2cacda426d5e0979bd44e6f92d713f3ca0f0866e322739b9ced888ebbce6508ad872d08de74fcc
checksum: b2358c989fcb76b4a1c265f60e175c950d3f776e5f619a9f58f54e8d2d792cd6b4cca86071834075f3b9943556d695357bafdd4ee2390de2fc9fd96ba3efa8c8
languageName: node
linkType: hard

Expand Down

0 comments on commit ba7f1db

Please sign in to comment.