MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / makeUniqueUA

Function makeUniqueUA

scripts/seed-events.mjs:104–106  ·  view source on GitHub ↗
(base, index)

Source from the content-addressed store, hash-verified

102
103// Ensure each session has a unique UA by appending a suffix
104function makeUniqueUA(base, index) {
105 return `${base} Session/${index}`;
106}
107
108// Generate a plausible IP address (avoiding private ranges)
109function makeIP(index) {

Callers 1

buildSessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected