Code Monkey home page Code Monkey logo

Comments (6)

welcome avatar welcome commented on September 28, 2024

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

from snipe-it.

Dustin-Moon avatar Dustin-Moon commented on September 28, 2024

I went into the LivewireSerivceProvider.php and changed "config('livewire.url_prefix') to the prefix I wanted in the Update Route and it started working. I am assuming there is a problem with the communication. Not sure how the directory link worked though.

from snipe-it.

marcusmoore avatar marcusmoore commented on September 28, 2024

Hi @Dustin-Moon, I'm also confused about how it worked by going directly to /support/snipe-it/public/import...

I opened the PR that introduced that config option and was addressing another reported issue importing but that user was running apache. I wonder if IIS is doing something different here?

from snipe-it.

Dustin-Moon avatar Dustin-Moon commented on September 28, 2024

Hi @Dustin-Moon, I'm also confused about how it worked by going directly to /support/snipe-it/public/import...

I opened the PR that introduced that config option and was addressing another reported issue importing but that user was running apache. I wonder if IIS is doing something different here?

Don't get me wrong here, I very well could have done something wrong in the installation or one of my files is running weirdly on IIS. I am the new guy at work so the internal IIS site that we are hosting has been on the same computer for 10 years or so. God knows what has been installed or altered on the IIS server.

from snipe-it.

marcusmoore avatar marcusmoore commented on September 28, 2024

I went into the LivewireSerivceProvider.php and changed "config('livewire.url_prefix') to the prefix I wanted in the Update Route and it started working. I am assuming there is a problem with the communication. Not sure how the directory link worked though.

@Dustin-Moon can you explain the change that worked here? Am I understanding it right?

- return Route::post('/' . config('livewire.url_prefix') . '/livewire/update', $handle);
+ return Route::post('/support/snipeit/livewire/update', $handle);

from snipe-it.

Dustin-Moon avatar Dustin-Moon commented on September 28, 2024

I went into the LivewireSerivceProvider.php and changed "config('livewire.url_prefix') to the prefix I wanted in the Update Route and it started working. I am assuming there is a problem with the communication. Not sure how the directory link worked though.

@Dustin-Moon can you explain the change that worked here? Am I understanding it right?

- return Route::post('/' . config('livewire.url_prefix') . '/livewire/update', $handle);
+ return Route::post('/support/snipeit/livewire/update', $handle);

image
Sort of, I just repalced the "config('livewire.url_prefix')" and left the rest the same. I thought maybe I had some permissions wrong so maybe it couldn't access the file or the .env somewhere along the way. Checked all permissions and still had the same result.

from snipe-it.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.