Giter Site home page Giter Site logo

Comments (11)

cnrad avatar cnrad commented on July 20, 2024 1

Gonna try redeploying the project to see if that fixes anything, if not I'll try to figure out why it's doing that

from lanyard-profile-readme.

cnrad avatar cnrad commented on July 20, 2024 1

Thanks for bringing this to my attention, pushed a fix and it should be working now 👍

from lanyard-profile-readme.

vascYT avatar vascYT commented on July 20, 2024 1

Thanks for fixing it 👍

from lanyard-profile-readme.

cnrad avatar cnrad commented on July 20, 2024

Still doesn't work on Vercel, but works on my localhost as well, this is very annoying and I'm not sure what is going wrong

from lanyard-profile-readme.

vascYT avatar vascYT commented on July 20, 2024

Yeah. I am also confused.

from lanyard-profile-readme.

cnrad avatar cnrad commented on July 20, 2024

Ok, we're getting somewhere. Adding ?animated=false to the end makes it work, so I'm assuming it has to do something with the gif size or the conversion to base64

from lanyard-profile-readme.

vascYT avatar vascYT commented on July 20, 2024

Okay, but why does it work on localhost then?

from lanyard-profile-readme.

vascYT avatar vascYT commented on July 20, 2024

I mean his pfp is 20mb. In comparison mine is 1mb. I think it's a Vercel limitation.

from lanyard-profile-readme.

vascYT avatar vascYT commented on July 20, 2024

Yeah, the rendered svg is 16mb big...

from lanyard-profile-readme.

vascYT avatar vascYT commented on July 20, 2024

That's why it works with animated set to false. Because then the svg is only 24kb.

from lanyard-profile-readme.

vascYT avatar vascYT commented on July 20, 2024

"The maximum payload size for the request body or the response body of a Serverless Function is 5 MB."

from lanyard-profile-readme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.