budibase/packages/client/src/render/getAppId.js

6 lines
137 B
JavaScript
Raw Normal View History

export const getAppId = () =>
document.cookie
.split(";")
.find(c => c.trim().startsWith("budibase:appid"))
.split("=")[1]