examples: copy runner.py and auth.py where needed

This commit is contained in:
Aleix Conchillo Flaqué
2024-03-18 15:13:38 -07:00
parent 69c2637a25
commit a573277a10
21 changed files with 138 additions and 25 deletions

View File

@@ -1,13 +1,10 @@
import time
import urllib
from dotenv import load_dotenv
import requests
from flask import jsonify
import os
load_dotenv()
def get_meeting_token(room_name, daily_api_key, token_expiry):
api_path = os.getenv('DAILY_API_PATH') or 'https://api.daily.co/v1'

View File

@@ -5,10 +5,10 @@ import time
from flask import Flask, jsonify, request, redirect
from flask_cors import CORS
from examples.server.auth import get_meeting_token
from auth import get_meeting_token
from dotenv import load_dotenv
load_dotenv()
app = Flask(__name__)