Thanks Adithya (and to Saq) , this fix works great at least for now. 
On Monday, April 26, 2021 at 10:41:33 AM UTC+7 bmad...@gmail.com wrote:

> You have to change the "var uploadURL = '/api/upload';" to "var uploadURL 
> = 'api/upload';" in  
> $:/plugins/sq/ImportToExternalFile/startup.js tiddler in the latest version 
> of the plugin ( here: 
> https://saqimtiaz.github.io/sq-tw/temp/import-to-external-file.html) 
>
> You can  make the edit yourself. Otherwise, I have also made a pull 
> request with this change - lets see.
> On Saturday, April 24, 2021 at 1:34:36 PM UTC-6 wuva...@gmail.com wrote:
>
>> hello Adithya,
>>
>> May you please elaborate how to change uploadURL variable?  I need to do 
>> the same, and couldn't find it.
>>
>> Best Regards,
>> Pumin
>>
>> On Sunday, April 4, 2021 at 4:32:35 AM UTC+7 bmad...@gmail.com wrote:
>>
>>> Hi Saq, 
>>>
>>> This plugin is very nice. Thanks for the contribution!
>>>
>>> It runs beautifully - I had to make a small change in the JS to make it 
>>> work on my TiddlyServer installation though!
>>>
>>> I changed "var uploadURL = '/api/upload';" to "var uploadURL = 
>>> 'api/upload';" Because the initial / was making it call the api on the home 
>>> directory instead of the subdirectory. Once I did that it worked perfectly!
>>>
>>> Thanks again,
>>> Adithya
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/37bd96dc-0cff-4aa0-8a37-0351bb269740n%40googlegroups.com.

Reply via email to