feat(miniprogram): add WeChat mini program plugin
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
App({
|
||||
onLaunch() {
|
||||
const settings = wx.getStorageSync("weknora_settings");
|
||||
if (!settings) {
|
||||
wx.setStorageSync("weknora_settings", {
|
||||
baseUrl: "http://localhost:8080",
|
||||
apiKey: "",
|
||||
selectedKnowledgeBaseId: ""
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user