Skip to content

Commit

Permalink
Re-Enable Demo new paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekmarchi committed Nov 10, 2023
1 parent 97e931b commit c219453
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/simulateClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import { client } from '#udsp';
console.time('Connected');
// Universal Web Socket
const uwClient = await client({
destinationCertificate: `${currentPath(import.meta)}/../services/universal.web-EphemeralPublic.cert`,
destinationCertificate: `${currentPath(import.meta)}/../serverApp/certs/universal_web-Ephemeral/universal.web-EphemeralPublic.cert`,
// Load Profile Certificate from Keychain
// keychain: 'Universal Web Profile',
// Load Profile Certificate from file
profile: `${currentPath(import.meta)}/../profiles/default-Ephemeral.cert`
profile: `${currentPath(import.meta)}/../profiles/default/default-Ephemeral/default-Ephemeral.cert`
});
// const connection = await uwClient.connect();
// await client('universalweb.io', {keychain: 'Universal Web Profile'});
Expand Down
2 changes: 1 addition & 1 deletion serverApp/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const appServer = await server({
// default file extension default is .js but WWW default is www
defaultExtension: 'html',
// Domain certificate to be loaded used for connection encryption
certificatePath: path.join(currentPath(import.meta), '/universal_web-Ephemeral/universal.web-Ephemeral.cert'),
certificatePath: path.join(currentPath(import.meta), '/certs/universal_web-Ephemeral/universal.web-Ephemeral.cert'),
// Where to load app resources from
resourceDirectory: path.join(currentPath(import.meta), 'resources'),
rootDirectory: currentPath(import.meta),
Expand Down

0 comments on commit c219453

Please sign in to comment.