Fixing tiddler exporter installer and remote host in TiddlyWiki.

This commit is contained in:
ruidajo 2022-09-26 16:46:37 -05:00
parent 62fb3fca65
commit 8627e2629e
2 changed files with 5 additions and 2 deletions

View File

@ -277,7 +277,8 @@ Tiddler >> importFedWikiPage: pageViewUrlString [
{ #category : #accessing }
Tiddler >> installTiddlerExporter [
| folder |
folder := (self wiki folder / 'scripts') ensureCreateDirectory.
folder := (self wiki folder).
folder := (folder / 'scripts') ensureCreateDirectory.
ZnClient new
url: 'https://mutabit.com/repos.fossil/mutabit/uv/wiki/scripts/stringAsFileInto';

View File

@ -378,7 +378,9 @@ TiddlyWiki >> installJsonExporter [
{ #category : #accessing }
TiddlyWiki >> isInTiddlyHost [
^ self remote host endsWith: 'tiddlyhost.com'
self remote ifNil: [ ^ false ].
self remote host endsWith: 'tiddlyhost.com'
]
{ #category : #accessing }