Skip to content

Commit e335f94

Browse files
committed
fix: logs tested
1 parent fa9e9d9 commit e335f94

File tree

5 files changed

+11
-2
lines changed

5 files changed

+11
-2
lines changed

infrastructure/eid-wallet/src-tauri/gen/android/.idea/AndroidProjectSystem.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infrastructure/web3-adapter/src/logging/transport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { LokiOptions } from "pino-loki";
44
export const transport = pinoTransport<LokiOptions>({
55
target: "pino-loki",
66
options: {
7-
host: process.env.LOKI_URL || "http://loki:3100",
7+
host: process.env.LOKI_URL || "http://localhost:3100",
88
labels: {
99
app: "web3-adapter",
1010
},

platforms/pictique-api/src/database/data-source.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { PostgresSubscriber } from "../web3adapter/watchers/subscriber";
1212

1313
config({ path: path.resolve(__dirname, "../../../../.env") });
1414

15+
console.log("SAODIHUOPIFHDSA", process.env.PICTIQUE_DATABASE_URL)
1516
export const AppDataSource = new DataSource({
1617
type: "postgres",
1718
url: process.env.PICTIQUE_DATABASE_URL,

platforms/pictique-api/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { adapter } from "./web3adapter/watchers/subscriber";
1616
config({ path: path.resolve(__dirname, "../../../.env") });
1717

1818
const app = express();
19-
const port = process.env.PORT || 3000;
19+
const port = process.env.PORT || 1111;
2020

2121
// Initialize database connection and adapter
2222
AppDataSource.initialize()

platforms/pictique/src/routes/(auth)/auth/+page.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
class="h-max-[600px] w-max-[400px] mb-5 flex flex-col items-center gap-5 rounded-xl bg-[#F476481A] p-5"
4848
>
4949
<h2>Scan the QR code using your <b><u>eID App</u></b> to login</h2>
50+
{#if qrData}
5051
<article
5152
class="overflow-hidden rounded-2xl"
5253
use:qrcode={{
@@ -72,6 +73,7 @@
7273
}
7374
}}
7475
></article>
76+
{/if}
7577
<p>
7678
<span class="mb-1 block font-bold text-gray-600">The code is valid for 60 seconds</span>
7779
<span class="block font-light text-gray-600">Please refresh the page if it expires</span

0 commit comments

Comments
 (0)