Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force server to return svg file #44

Open
tacman opened this issue May 4, 2020 · 0 comments
Open

Force server to return svg file #44

tacman opened this issue May 4, 2020 · 0 comments

Comments

@tacman
Copy link

tacman commented May 4, 2020

When I run the application locally, I can't embed svg images

{% set url = 'https://127.0.0.1:8007/?accessoriesType=Kurt&avatarStyle=Transparent&clotheColor=Gray02&clotheType=ShirtVNeck&eyeType=Side&eyebrowType=RaisedExcitedNatural&facialHairColor=Red&facialHairType=BeardLight&hairColor=Blonde&mouthType=Default&skinColor=Pale&topType=LongHairCurly' %}

<img src="{{ url }}" />

When I inspect what's returned, it's the html page, not the svg.

Is there a way to "trigger" an svg download, e.g. /myavatar.svg?accessoriesType=Kurt&avatarStyle=Transparent&clotheColor=Gray02&clotheType=ShirtVNeck

That might make caching easier, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant