« first day (4422 days earlier)      last day (529 days later) » 

7:01 AM
Hey Everyone, I just want to know regarding Content security policy in angular side. I have set the csp policy in asp.net core web host project and it shown in csp extension of chrome for backend host project. But, for angular app hosted version csp not shown in extension. How i can enable the server csp for my angular app. Both backend and frontend app hosted on different versions.
 
@PargatSingh Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
 
3 hours later…
10:07 AM
One question
if I have ref={ref}
how to append something just on first element
ref.current.how ?
 
10:45 AM
I found a solution
cardRef.current?.firstElementChild?.classList.add('w-full')
but have an issue , because ref in my case is last element from mapped list
 
10:58 AM
  const cardRef = useRef<Array<HTMLLIElement>>([])
If I have this
I am getting an error
Property 'offsetHeight' does not exist on type 'HTMLLIElement[]'.
How to fix this ? Any idea
 
 
1 hour later…
12:11 PM
Hi All
im facing one problem connecting with tiktok api
after my callback api is made while generating the accesstoken, Im getting exception of timeout every single time
but when I copy the same url, and hit it from browser, I'm getting the expected response
 
 
10 hours later…
10:18 PM
Hello all, happy Thursday
Ow wait, this chat thing died...
 

« first day (4422 days earlier)      last day (529 days later) »