bugfix:Jsファイルでデプロイ時の不具合修正

This commit is contained in:
2024-06-28 02:42:30 +09:00
parent 550e59b4db
commit e4800d2937

View File

@@ -404,12 +404,11 @@ def updateappjscss(app,uploads,c:config.KINTONE_ENV):
r = httpx.put(url,headers=headers,data=json.dumps(data))
return r.json()
def getTempPath(filename){
def getTempPath(filename):
scriptdir = Path(__file__).resolve().parent
rootdir = scriptdir.parent.parent.parent.parent
fpath = os.path.join(rootdir,"Temp",filename)
return fpath
}
def createappjs(domainid,app):
db = SessionLocal()