File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
examples/google-secure-signals-integration/client_side Expand file tree Collapse file tree 2 files changed +1
-9
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1- const axios = require ( 'axios' ) ;
21const ejs = require ( 'ejs' ) ;
32const express = require ( 'express' ) ;
4- const crypto = require ( 'crypto' ) ;
53
64const app = express ( ) ;
75const 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-
157app . engine ( '.html' , ejs . __express ) ;
168app . set ( 'view engine' , 'html' ) ;
179
1810app . use ( express . static ( 'public' , { type : 'application/javascript' } ) ) ;
1911
2012app . get ( '/' , ( req , res ) => {
21- res . render ( 'index' , { uid2BaseUrl : uid2BaseUrl , uid2JsSdkUrl : uid2JsSdkUrl } ) ;
13+ res . render ( 'index' ) ;
2214} ) ;
2315
2416app . listen ( port , ( ) => {
You can’t perform that action at this time.
0 commit comments