Jump to content

Recommended Posts

Posted

Good Morning,

how do I enable extensions in UniGui in standalone mode?

in my application I have a javascript that refers to the fonts folder, it has two files:

unauthorized.jpg

Obs. This problem does not occur when it is executed by IIS.

 

  • 3 weeks later...
  • Administrators
Posted

Your issue is different. You must register them in uniGUI first.

procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject);
begin
  MimeTable.AddMimeType('ttf', 'application/font', False);
end;
  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...