Giter VIP home page Giter VIP logo

Comments (6)

Marak avatar Marak commented on May 18, 2024

I understand. Environment variables for hooks is a pretty critical feature.

I'm glad someone requested it! I should be able to have something working by early next week. I'll update this issue when env vars are online.

from hook.io.

Marak avatar Marak commented on May 18, 2024

@desmondmorris - I've gone ahead and added the ability to set environment variables for hooks.

You can set key / value pairs for the Hook Environment by visiting http://hook.io/env

Once a pair is defined here it will be accessible to all of your hooks through Hook.env.

I tested it out and everything appears to be working. Try it out on the live site and let me know if this is working for you.

I choose Hook.env over process.env to help ensure future compatibility with our virtualization strategy and to keep things a bit more organized.

from hook.io.

desmondmorris avatar desmondmorris commented on May 18, 2024

whoa. that was fast. when do you sleep?

I will give this a go today.

from hook.io.

Marak avatar Marak commented on May 18, 2024

It only took about an hour.

The Big application framework ( which hook.io is built on ) has gotten much
more mature.

On Fri, Oct 31, 2014 at 3:56 PM, Desmond Morris [email protected]
wrote:

whoa. that was fast. when do you sleep?

I will give this a go today.


Reply to this email directly or view it on GitHub
#2 (comment).

from hook.io.

desmondmorris avatar desmondmorris commented on May 18, 2024

I switched out process.env for hook.env here and confirm that this is working. This is great. Thanks

(i will take another look at the Big stack. Its been a while since I checked it out)

from hook.io.

Marak avatar Marak commented on May 18, 2024

Awesome! Thanks for your contribution.

from hook.io.

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.