Giter VIP home page Giter VIP logo

Comments (5)

joescars avatar joescars commented on June 19, 2024 1

@SteveALee Updated the azuredeploy with the missing app settings. Updating the readme shortly as well. just FYI

from tugofwar-functionsdemo.

joescars avatar joescars commented on June 19, 2024

Hi Steve, that is used for the "root" proxy to serve up the static content. You have to create a container named "content" and upload everything from the client folder to it. From there you use your blob container uri in that app settings. I am working on how to automate this piece. As of right now that is the only manual step.

from tugofwar-functionsdemo.

SteveALee avatar SteveALee commented on June 19, 2024

Aha, thanks
Might be an idea to add to the README?

I'm thinking of using a c# function as a static server for dev as that will give automatic Mime type handling. Though blob and CDN bette rfor deploy

from tugofwar-functionsdemo.

joescars avatar joescars commented on June 19, 2024

I agree Steve. Going to add better instructions to the README shortly. In addition I'll update the azuredeploy to include the variable.

I was going to use the function you referenced but wanted to keep this version completely node.js. I may do another version in c# for demo purposes using the static server.

from tugofwar-functionsdemo.

SteveALee avatar SteveALee commented on June 19, 2024

I previously tried using connect in node and while you can do it by facading req and res I realised all files must be loaded into memory.

Hopeully the JS AzureFunctions will support node streams soon.

from tugofwar-functionsdemo.

Related Issues (4)

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.