Reputation: 16311
Created a simple Azure function that serves up a single web page. Uploaded 2 css files that I would like the web page to use.
Not sure what path to use with the .css files so the browser finds it:
<link rel="stylesheet" href="main.css">
Upvotes: 2
Views: 816
Reputation: 2474
Short answer: <link rel="stylesheet" href="D:\home\site\wwwroot\HomeWebApp\main.css">
Detailed answer: You can discover this by launching the Kudu console. Here are the steps:
cd site\wwwroot\HomeWebApp
The path you see in the prompt is the path to the directory containing your main.css file.Upvotes: 3