easy_ml 0.2.0.pre.rc22 → 0.2.0.pre.rc23

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 385baa11d22ec55a9c9289d728bd4364b0d1b8499f158601effccd2339654626
4
- data.tar.gz: 95fcc5235d6d179a0c55aad21e9488631b854be9ff0986e4bb4bc503745f1498
3
+ metadata.gz: 685c66332f22f73eae21f3a3f7b41e4b20bbf80a62d399c3e48bfbd3308b2eba
4
+ data.tar.gz: f3c41802ceb906d5f050097c72608aea21d1c6a8cc37a501ba3fdafb00be9dae
5
5
  SHA512:
6
- metadata.gz: 54643fa38a5f7a9eb4b9229d10687a331d3c2841a4ed08f8fece86a43daa0bd0c7ad4eeb442592479cfe60c175e73970a8bbd76232f475d5e79cfea7e323817b
7
- data.tar.gz: 8ea4be5cebf9c849fbc17b4e0a78d8e8b831b916ca6d9107ce4474b7e865529de4d7f560cb5e4d5cdbfad6733cd9dd1fe19605277409ca31004f8790ff5b263e
6
+ metadata.gz: 0f69d5c2e1dfcfa7f3ffebe7587122107905f3f14dcf78abb1f2ed751c08064c83cf53bf04f11abe4de41d724f1746ec0912051b7c31eb232a1b976f4d5051ce
7
+ data.tar.gz: 97ea5c0b4e6fe51843953bbcc56fef71f4ee436db8bad7c340158109193cb212f9a4689008dc195f626f1fa1047d2f3b29a24c3513be2af7ae17ab0b2222b777
@@ -44,7 +44,8 @@ module EasyML
44
44
  end
45
45
 
46
46
  def easy_ml_root
47
- Rails.application.routes.routes.find { |r| r.app.app == EasyML::Engine }&.path&.spec&.to_s
47
+ path = Rails.application.routes.routes.find { |r| r.app.app == EasyML::Engine }&.path&.spec&.to_s
48
+ URI.join("#{request.scheme}://#{request.host_with_port}", path).to_s
48
49
  end
49
50
 
50
51
  inertia_share do
@@ -69,6 +69,9 @@ module EasyML
69
69
  datasource = Datasource.find(params[:id])
70
70
  datasource.update(is_syncing: true)
71
71
 
72
+ Rails.logger.info("X-Forwarded-Host: #{request.headers["X-Forwarded-Host"]}")
73
+ Rails.logger.info("X-Forwarded-Port: #{request.headers["X-Forwarded-Port"]}")
74
+
72
75
  # Start sync in background to avoid blocking
73
76
  datasource.refresh_async
74
77
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EasyML
4
- VERSION = "0.2.0-rc22"
4
+ VERSION = "0.2.0-rc23"
5
5
 
6
6
  module Version
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_ml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.pre.rc22
4
+ version: 0.2.0.pre.rc23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Shollenberger