Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/embeddings/embedding_repo_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ local function define_tests()
test.is_nil(err)
test.ok(#results > 0)

local entry_id = results[1].entry_id
local entry_id = (results :: any)[1].entry_id

local delete_result, del_err = embedding_repo.delete_by_entry(entry_id)
test.is_nil(del_err)
Expand Down
2 changes: 1 addition & 1 deletion src/facade/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Run `make sync` after every Wippy Web Host version bump to pull fresh copies.

# Web Host CDN base — update version when Wippy Web Host releases
WEB_HOST_CDN = https://web-host.wippy.ai/webcomponents-1.0.21
WEB_HOST_CDN = https://web-host.wippy.ai/webcomponents-1.0.23

# Files to sync from CDN into public/@wippy-fe/
CDN_FILES = loading.js
Expand Down
6 changes: 3 additions & 3 deletions src/facade/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ These fields are NOT configurable via requirements — they are computed at runt

| Requirement | Default | Description |
|---|---|---|
| `fe_facade_url` | `https://web-host.wippy.ai/webcomponents-1.0.21` | CDN base URL for the Web Host frontend bundle |
| `fe_facade_url` | `https://web-host.wippy.ai/webcomponents-1.0.23` | CDN base URL for the Web Host frontend bundle |
| `fe_entry_path` | `/iframe.html` | Iframe HTML entry point path (appended to `fe_facade_url`) |

### App Identity
Expand Down Expand Up @@ -189,9 +189,9 @@ Only override what differs from defaults.

```json
{
"facade_url": "https://web-host.wippy.ai/webcomponents-1.0.21",
"facade_url": "https://web-host.wippy.ai/webcomponents-1.0.23",
"iframe_origin": "https://web-host.wippy.ai",
"iframe_url": "https://web-host.wippy.ai/webcomponents-1.0.21/iframe.html?waitForCustomConfig",
"iframe_url": "https://web-host.wippy.ai/webcomponents-1.0.23/iframe.html?waitForCustomConfig",
"login_path": "/login.html",
"env": {
"APP_API_URL": "http://localhost:8085",
Expand Down
2 changes: 1 addition & 1 deletion src/facade/_index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ entries:
targets:
- entry: wippy.facade:fe_facade_url
path: .default
default: https://web-host.wippy.ai/webcomponents-1.0.21
default: https://web-host.wippy.ai/webcomponents-1.0.23

- name: fe_entry_path
kind: ns.requirement
Expand Down
4 changes: 1 addition & 3 deletions src/facade/config_handler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,6 @@ local function handler()
}

local api_routes = non_empty_map_or_nil(get_req_json_any("api_routes"))
if api_routes then
host_config.apiRoutes = api_routes
end

local additional_nav = non_empty_map_or_nil(get_req_json_any("additional_nav_items"))
if additional_nav then
Expand Down Expand Up @@ -174,6 +171,7 @@ local function handler()
APP_WEBSOCKET_URL = ws_url,
},
routePrefix = non_empty_or_nil(api_url),
apiRoutes = api_routes,
axiosDefaults = axios_defaults,
theming = {
global = global_scope,
Expand Down
2 changes: 1 addition & 1 deletion src/facade/config_handler_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ local function define_tests()
end)

test.it("extracts iframe origin from facade URL", function()
local facade_url = "https://web-host.wippy.ai/webcomponents-1.0.21"
local facade_url = "https://web-host.wippy.ai/webcomponents-1.0.23"
local origin = facade_url:match("^(https?://[^/]+)")

test.eq(origin, "https://web-host.wippy.ai")
Expand Down
9 changes: 6 additions & 3 deletions src/facade/public/@wippy-fe/loading.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading