MCPcopy Index your code
hub / github.com/Flagsmith/flagsmith / genericWebsite

Function genericWebsite

frontend/api/index.js:235–246  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

233
234app.use(spm)
235const genericWebsite = (url) => {
236 if (!url) return true
237 if (
238 url.includes('hotmail.') ||
239 url.includes('gmail.') ||
240 url.includes('icloud.') ||
241 url.includes('flagsmith.com')
242 ) {
243 return true
244 }
245 return false
246}
247app.post('/api/event', (req, res) => {
248 try {
249 const body = req.body

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected