landscape: version works again, fix gcp

This commit is contained in:
Ted Blackman 2021-07-21 11:59:33 +03:00
parent 442fa7617b
commit 50b50adade
5 changed files with 11 additions and 2 deletions

View File

@ -3,7 +3,7 @@ import BaseApi from './base';
export default class LocalApi extends BaseApi<StoreState> {
getBaseHash() {
this.scry<string>('hood', '/kiln/base-hash').then((baseHash) => {
this.scry<string>('file-server', '/clay/base/hash').then((baseHash) => {
this.store.handleEvent({ data: { baseHash } });
});
}

View File

@ -331,7 +331,16 @@
==
::
++ on-leave on-leave:def
++ on-peek on-peek:def
++ on-peek
|= =path
^- (unit (unit cage))
?+ path (on-peek:def path)
[%x %clay %base %hash ~]
:: TODO: have web client ask kiln directly
=/ ego (scot %p our.bowl)
=/ wen (scot %da now.bowl)
``hash+!>(.^(@ %gx /[ego]/hood/[wen]/kiln/base-hash/noun))
==
++ on-agent on-agent:def
++ on-fail on-fail:def
--