Tokay Posted July 18, 2022 Share Posted July 18, 2022 Does it possible to know current root dir on the front side? For example : /uni-1.90.0.1551/ext-sync-min.js I need to know such path to files. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 18, 2022 Share Posted July 18, 2022 28 minutes ago, Tokay said: For example : /uni-1.90.0.1551/ Hello, On the client side? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 18, 2022 Share Posted July 18, 2022 Could you please explain in more detail? Quote Link to comment Share on other sites More sharing options...
Tokay Posted July 18, 2022 Author Share Posted July 18, 2022 45 minutes ago, Sherzod said: Hello, On the client side? Yes. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 18, 2022 Share Posted July 18, 2022 10 minutes ago, Tokay said: Yes. Please clarify your case. Quote Link to comment Share on other sites More sharing options...
Tokay Posted July 18, 2022 Author Share Posted July 18, 2022 I need on the client side get such path: /uni-1.90.0.1551/ into any varaible. let pathToLib = ????; Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 18, 2022 Share Posted July 18, 2022 You can create this variable from server side for example. Quote Link to comment Share on other sites More sharing options...
Tokay Posted July 18, 2022 Author Share Posted July 18, 2022 In other words this information on the client does not exist? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 18, 2022 Share Posted July 18, 2022 I need to check. Quote Link to comment Share on other sites More sharing options...
Tokay Posted July 25, 2022 Author Share Posted July 25, 2022 Up Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 25, 2022 Share Posted July 25, 2022 1 hour ago, Tokay said: Up Hello, I'm sorry, I couldn't check it out. But what you are asking is possible to generate a JS variable on the server side. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.