GithubHelp home page GithubHelp logo

req.cookies is not filled about aqua HOT 5 CLOSED

gr7d avatar gr7d commented on May 28, 2024
req.cookies is not filled

from aqua.

Comments (5)

LoganTann avatar LoganTann commented on May 28, 2024 1

Hello, thanks for the quick reply !

You can look here the code in which I added my session system and used cookies : LoganTann/redbeansoup-v2@9b7ea5d

If you want to run the entire repo, then use the following command line argument : deno run --import-map import_map.json --no-check --allow-all --watch mod.ts --start-dashboard-only

You may need to create the file config.ts with the following content (no need to fill) :

export default {
    // Discord Developers -> Oauth2 -> Client ID
    CLIENT_ID: "",
    // Discord Developers -> Oauth2 -> Client secret
    CLIENT_SECRET: "",
    // Discord Developers -> Bot -> reset
    BOT_TOKEN: "",
    // Right Click on your dev server icon -> Copy ID
    DEV_GUILD_ID: "",
    // Get your OpenAI token in your dashboard - https://openai.com/api/
    OPENAI_TOKEN: "",
    WHOLESOME_ENDPOINT: "",
};

from aqua.

gr7d avatar gr7d commented on May 28, 2024

Is your repo maybe public or do you have a reproducible example?

from aqua.

gr7d avatar gr7d commented on May 28, 2024

But regarding the last point: Yes, setting the cookie on the request won't do anything - it's the correct behaviour.

But could maybe be made more obvious by only providing a getter - will be changed in v2.

from aqua.

LoganTann avatar LoganTann commented on May 28, 2024

omg you fixed it before my reply, so fast xD

thanks a lot, i'll look into that PR

from aqua.

gr7d avatar gr7d commented on May 28, 2024

Thanks a lot for opening the issue! 🙌 Fix released with v1.3.5

from aqua.

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.