Jump to content

Recommended Posts

Posted

Merhaba,

procedure TUniServerModule.UniGUIServerModuleBeforeInit(Sender: TObject);
begin
  Self.FilesFolder:= 'c:\_web\_files\';
  Self.CustomFiles.Clear;
    Self.CustomFiles.add('animate\animate.min.css');
    Self.CustomFiles.add('sweetalert2\sweetalert2.min.css');
    Self.CustomFiles.add('sweetalert2\sweetalert2.all.min.js');
    Self.CustomFiles.add('_css\swt.css');
...    


“http://localhost:8077/sweetalert2/sweetalert2.all.min.js” kaynaklı <script> yüklenemedi. localhost:8077

css ve js ler de yüklenmiyor. ama exe nin olduğu yere files klasörüne kopyalarsam çalışıyor.
FilesFolder:= 'c:\_web\_files\'; bu kısım değişkene atama yapıyor ama unigui bunu kullanmıyor.
Testi bu şekilde. 
 

procedure TMainForm.UniFormAfterShow(Sender: TObject);
begin
     Self.Caption:= UniServerModule.FilesFolder;
end;

Ben mi hatalı yapıyorum, Bu bir bug mı? 

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...