langgenius / dify-sandbox

A lightweight, fast, and secure code execution environment that supports multiple programming languages
https://docs.dify.ai/development/backend/sandbox
Apache License 2.0
412 stars 94 forks source link

401 #11

Open fevolq opened 3 months ago

fevolq commented 3 months ago

I started the service in WSL according to the instructions in the readme, visited http://localhost:8194, and then it was 401. And I couldn't access it through http://127.0.0.1:8194 image

Yeuoly commented 3 months ago

You can see a configuration named "API_KEY" defined in conf/config.yaml, use it as your Authorization header.

sknightq commented 3 months ago

must add "X-Api-Key" in HTTP header