Skip to content

Commit 57677ff

Browse files
final testing changes
1 parent 156562b commit 57677ff

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

examples/google-secure-signals-integration/client_side/images/favicon.png renamed to examples/google-secure-signals-integration/client_side/public/images/favicon.png

File renamed without changes.

examples/google-secure-signals-integration/client_side/server.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,16 @@
1-
const axios = require('axios');
21
const ejs = require('ejs');
32
const express = require('express');
4-
const crypto = require('crypto');
53

64
const app = express();
75
const port = process.env.PORT || 3000;
86

9-
const uid2BaseUrl = process.env.UID2_BASE_URL;
10-
const uid2ApiKey = process.env.UID2_API_KEY;
11-
const uid2ClientSecret = process.env.UID2_CLIENT_SECRET;
12-
const uid2JsSdkUrl =
13-
process.env.UID2_JS_SDK_URL || 'https://cdn.integ.uidapi.com/uid2-sdk-3.9.0.js';
14-
157
app.engine('.html', ejs.__express);
168
app.set('view engine', 'html');
179

1810
app.use(express.static('public', { type: 'application/javascript' }));
1911

2012
app.get('/', (req, res) => {
21-
res.render('index', { uid2BaseUrl: uid2BaseUrl, uid2JsSdkUrl: uid2JsSdkUrl });
13+
res.render('index');
2214
});
2315

2416
app.listen(port, () => {

0 commit comments

Comments
 (0)