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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 685c66332f22f73eae21f3a3f7b41e4b20bbf80a62d399c3e48bfbd3308b2eba
|
4
|
+
data.tar.gz: f3c41802ceb906d5f050097c72608aea21d1c6a8cc37a501ba3fdafb00be9dae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/lib/easy_ml/version.rb
CHANGED