tinkr | Convert Markdown files to XML , edit them , write
kandi X-RAY | tinkr Summary
kandi X-RAY | tinkr Summary
The goal of tinkr is to convert (R)Markdown files to XML and back to allow their editing with xml2 (XPath!) instead of numerous complicated regular expressions. If these words mean nothing to you, see our list of resources to get started.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tinkr
tinkr Key Features
tinkr Examples and Code Snippets
Community Discussions
Trending Discussions on tinkr
QUESTION
User clicks google icon, get reidrect to google Oauth, successfully logs in, redirected with state details back to the Angular SPA. The SPA processes the hash in the state and takes the access token to make a HTTP request to our own REST endpoint for authentication.
TriggerIf our REST app is down, that request with the access token will fail the OPTIONS
request with status 0: Connection Refused
and later throw a HTTP Error status 0
. That error is handled by the catchError block and the user is notified about it. Problem is handled
Now the weird part is, when the scenario above happens with a redirect from google's OAuth page, the SVG icons I have throughout my app go blank. The buttons still work & show up there, [img] tags work as well, strictly the svg icons.
Now my Oauth login for microsoft is handled with a popup instead of a redirect and when the same scenario fails, the svg definitions are fine.
The SVGsI have a reusable component as follows:
icon.ts
...ANSWER
Answered 2019-Oct-09 at 09:46I'm now splitting the absolute URL to remove everything after a hash starts:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tinkr
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page